Skip to content

Commit

Permalink
[fix](compile) fix FE compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Oct 14, 2024
1 parent 969f2c8 commit 532740a
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")
@ExecFunction(name = "url_encode", argTypes = {"VARCHAR"}, returnType = "VARCHAR")
public static Expression urlEncode(StringLikeLiteral first) {
try {
return castStringLikeLiteral(first, URLEncoder.encode(first.getValue(), StandardCharsets.UTF_8.name()));
Expand Down

0 comments on commit 532740a

Please sign in to comment.