Replies: 3 comments 3 replies
-
Good idea, this will unify our udf and higher order function on usage for users. |
Beta Was this translation helpful? Give feedback.
-
As we discussed before, the only difference between
Please let me know what your thought is. |
Beta Was this translation helpful? Give feedback.
-
@sundy-li @BohuTANG Can you help review this MR of first step: #3684 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current UDF style:
CREATE FUNCTION cal = '@0 + @2 * (@4 / @1) - @3';
What if there is
String
literal inside?CREATE FUNCTION cal = 'concat($0, \'33\' ) ';
Need escape.
What if we introduce
lambda
functions to traversearray
ormaps
in the future?What's more, this function did not have function propertype.
In rust,
|a, b| a + b + 3
.We can have a similar function like Rust/ClickHouse.
Or
What's your opinion? cc @lianghanzhen
Beta Was this translation helpful? Give feedback.
All reactions