Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
LiBinfeng-01 committed Oct 16, 2024
1 parent 53cae06 commit b8f5075
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ public static Expression urlDecode(StringLikeLiteral first) {
/**
* Executable arithmetic functions urlencode
*/
@ExecFunction(name = "url_encode", argTypes = {"VARCHAR"}, returnType = "VARCHAR")
@ExecFunction(name = "url_encode")
public static Expression urlEncode(StringLikeLiteral first) {
try {
return castStringLikeLiteral(first, URLEncoder.encode(first.getValue(), StandardCharsets.UTF_8.name()));
Expand Down

0 comments on commit b8f5075

Please sign in to comment.