Skip to content

Conversation

@Jefffrey
Copy link
Contributor

Which issue does this PR close?

Part of #2469

Rationale for this change

In preparation for apache/datafusion-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

sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants