Skip to content

Add supports for Hive's SELECT ... GROUP BY .. GROUPING SETS syntax #1653

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

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

wugeer
Copy link
Contributor

@wugeer wugeer commented Jan 9, 2025

This PR supports SELECT ... GROUP BY .. GROUPING SETS syntax for hive dialect. For more information, please refer to:
https://cwiki.apache.org/confluence/display/Hive/Enhanced+Aggregation%2C+Cube%2C+Grouping+and+Rollup#EnhancedAggregation,Cube,GroupingandRollup-GROUPINGSETSclause

Also support hive with rollup/cube clause.
This resolves issue #1644

@alamb alamb marked this pull request as draft January 21, 2025 09:06
@alamb
Copy link
Contributor

alamb commented Jan 21, 2025

Marking as draft as I think this PR is no longer waiting on feedback. Please mark it as ready for review when it is ready for another look

@wugeer wugeer force-pushed the feat/add_support_enhance_agg_func branch from b08cdfd to 2d26599 Compare February 2, 2025 04:19
@wugeer wugeer marked this pull request as ready for review February 2, 2025 04:19
…ts for Clickhouse's `GROUP BY GROUPING SETS` syntax
@wugeer wugeer requested a review from iffyio February 2, 2025 04:24
@wugeer
Copy link
Contributor Author

wugeer commented Feb 2, 2025

@iffyio @alamb Sorry for replying so late. :(
I’ve resubmitted the code. Could you please take some time to review it?

@wugeer wugeer requested a review from iffyio February 13, 2025 13:42
@wugeer
Copy link
Contributor Author

wugeer commented Feb 13, 2025

@iffyio Thank you for your guidance! I have resubmitted the code and hope to receive your review again. :)

Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @wugeer!
cc @alamb

@iffyio iffyio merged commit 1c0e5d3 into apache:main Feb 14, 2025
9 checks passed
ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Apr 10, 2025
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.

3 participants