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

Sql planner support for rollup/cube/grouping sets ast nodes #4727

Closed
wants to merge 3 commits into from

Conversation

Jefffrey
Copy link
Contributor

Which issue does this PR close?

Part of #2469

Rationale for this change

In preparation for sqlparser-rs/sqlparser-rs#771, add support in Sql planner for rollup/cube/groupingsets ast nodes. Tests added utilize postgresql dialect, since this already parses rollup/cube/groupingsets properly into the ast, whereas current generic dialect only accounts for rollup/cube (as functions, not as their actual ast nodes)

What changes are included in this PR?

Are these changes tested?

added temporary tests for postgresql dialect, which can be removed once generic dialect will also support this parsing

Are there any user-facing changes?

@alamb
Copy link
Contributor

alamb commented Dec 27, 2022

Thanks -- I hope to work on getting a sqlparser release out later this week

@Jefffrey Jefffrey closed this Dec 29, 2022
@Jefffrey Jefffrey deleted the grouping_sets_planner branch December 31, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants