Skip to content

Commit

Permalink
[Enhancement] Add Trino HLL Function Compatibility Mapping and last_d…
Browse files Browse the repository at this point in the history
…ay_of_month Support(StarRocks#40894)

Signed-off-by: happut <[email protected]>
  • Loading branch information
happut committed Jun 26, 2024
1 parent ea1d960 commit 0e3f288
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,7 @@ private static void registerFunctionTransformerWithVarArgs(String trinoFnName, S

private static void registerFunctionTransformer(String trinoFnName, int trinoFnArgNums,
FunctionCallExpr starRocksFunctionCall) {
FunctionCallTransformer transformer;
transformer = new FunctionCallTransformer(starRocksFunctionCall, trinoFnArgNums);
FunctionCallTransformer transformer = new FunctionCallTransformer(starRocksFunctionCall, trinoFnArgNums);

List<FunctionCallTransformer> transformerList = TRANSFORMER_MAP.computeIfAbsent(trinoFnName,
k -> Lists.newArrayList());
Expand Down

0 comments on commit 0e3f288

Please sign in to comment.