Skip to content
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

Merged
merged 8 commits into from
Jul 9, 2024

Conversation

KevinyhZou
Copy link
Contributor

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

Copy link

github-actions bot commented Jul 2, 2024

#6304

Copy link

github-actions bot commented Jul 2, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 2, 2024

Run Gluten Clickhouse CI

1 similar comment
Copy link

github-actions bot commented Jul 2, 2024

Run Gluten Clickhouse CI

@KevinyhZou KevinyhZou force-pushed the support_array_join branch from 55b11d3 to 79b4863 Compare July 3, 2024 08:05
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 4, 2024

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"},
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the FunctionParser

Copy link
Contributor Author

@KevinyhZou KevinyhZou Jul 5, 2024

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

Copy link

github-actions bot commented Jul 5, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 5, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 6, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 8, 2024

Run Gluten Clickhouse CI

Copy link
Contributor

@liuneng1994 liuneng1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@liuneng1994 liuneng1994 merged commit be57db8 into apache:main Jul 9, 2024
43 checks passed
@KevinyhZou KevinyhZou deleted the support_array_join branch July 9, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CH] Support array_join function
3 participants