-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-6304][CH]Support array_join #6305
Conversation
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
55b11d3
to
79b4863
Compare
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
@@ -177,7 +177,8 @@ static const std::map<std::string, std::string> SCALAR_FUNCTIONS | |||
{"array", "array"}, | |||
{"shuffle", "arrayShuffle"}, | |||
{"range", "range"}, /// dummy mapping | |||
{"flatten", "sparkArrayFlatten"}, | |||
{"flatten", "sparkArrayFlatten"}, | |||
{"array_join", "sparkArrayJoin"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add new functions by this map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the FunctionParser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array_join not has function to map in clickhouse, it can not use function parser
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #6304)
How was this patch tested?
test by spark ut