This is an automated email from the ASF dual-hosted git repository.
aloyszhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 0aae16f45d [INLONG-11092][SDK] Fix the issue of inconsistent
capitalization of Function names in FunctionalTools (#11093)
0aae16f45d is described below
commit 0aae16f45dd7cf314c8af34fdce4474591490afe
Author: Zkplo <[email protected]>
AuthorDate: Sat Sep 14 10:23:27 2024 +0800
[INLONG-11092][SDK] Fix the issue of inconsistent capitalization of
Function names in FunctionalTools (#11093)
---
.../org/apache/inlong/sdk/transform/process/function/FunctionTools.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/FunctionTools.java
b/inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/FunctionTools.java
index 1c6bd1501a..8da0bf622e 100644
---
a/inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/FunctionTools.java
+++
b/inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/FunctionTools.java
@@ -73,7 +73,7 @@ public class FunctionTools {
if (func == null) {
return null;
}
- String functionName = func.getName();
+ String functionName = func.getName().toLowerCase();
Class<?> clazz = functionMap.get(functionName);
if (clazz == null) {
return new ColumnParser(func);