From 532740ab5a204328f880ff22884d66544122b961 Mon Sep 17 00:00:00 2001 From: morningman Date: Mon, 14 Oct 2024 10:54:24 +0800 Subject: [PATCH] [fix](compile) fix FE compilation error --- .../expressions/functions/executable/StringArithmetic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/StringArithmetic.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/StringArithmetic.java index c405ac40b09bcf..ed319e027398f4 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/StringArithmetic.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/StringArithmetic.java @@ -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()));