Skip to content

[Backport] (DONOT MERGE) remove calcite AggregateRemoveRule to fix nested group by query with order by in outer query#15250

Closed
LakshSingla wants to merge 1 commit intoapache:28.0.0from
LakshSingla:backport-15237-to-28.0.0
Closed

[Backport] (DONOT MERGE) remove calcite AggregateRemoveRule to fix nested group by query with order by in outer query#15250
LakshSingla wants to merge 1 commit intoapache:28.0.0from
LakshSingla:backport-15237-to-28.0.0

Conversation

@LakshSingla
Copy link
Copy Markdown
Contributor

Backport of #15237 to 28.0.0.

…order by in outer query (apache#15237)

* Fixing nested group by query with order by in outer query

* Adding examples
@LakshSingla LakshSingla added this to the 28.0 milestone Oct 25, 2023
@LakshSingla LakshSingla changed the title [Backport] remove calcite AggregateRemoveRule to fix nested group by query with order by in outer query [Backport] (DONOT MERGE) remove calcite AggregateRemoveRule to fix nested group by query with order by in outer query Oct 25, 2023
@LakshSingla
Copy link
Copy Markdown
Contributor Author

Please do not merge this PR, since while this helps with the issue, it also generates suboptimal plans. This should be merged as a last resort for correctness.

@LakshSingla
Copy link
Copy Markdown
Contributor Author

Closing this out, since its no longer needed.

@LakshSingla LakshSingla closed this Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants