Skip to content

Commit

Permalink
[INLONG-10873][SDK] Transform support factorial function
Browse files Browse the repository at this point in the history
  • Loading branch information
youzhi886 committed Aug 25, 2024
1 parent 4ba6306 commit 1579c5c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class OperatorTools {

public static final String CHILD_KEY = "$child";

private static final Map<String, java.util.function.Function<java.util.function.Function<T, R>, ValueParser>> functionMap = new HashMap<>();
private static final Map<String, java.util.function.Function<Function, ValueParser>> functionMap = new HashMap<>();

static {
functionMap.put("concat", ConcatFunction::new);
Expand Down Expand Up @@ -191,8 +191,8 @@ public static ValueParser buildParser(Expression expr) {
} else {
// TODO
Function func = (Function) expr;
java.util.function.Function<Function, ValueParser> valueParserConstructor = functionMap
.get(func.getName().toLowerCase());
java.util.function.Function<Function, ValueParser> valueParserConstructor =
functionMap.get(func.getName().toLowerCase());
if (valueParserConstructor != null) {
return valueParserConstructor.apply(func);
} else {
Expand Down

0 comments on commit 1579c5c

Please sign in to comment.