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

Fix(optimizer): expand refs in QUALIFY into corresponding projections #1665

Merged
merged 2 commits into from
May 19, 2023

Conversation

georgesittas
Copy link
Collaborator

Fixes #1661

@georgesittas georgesittas merged commit cfbadfa into main May 19, 2023
@georgesittas georgesittas deleted the jo/fix_qualify branch May 19, 2023 18:19
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
…tobymao#1665)

* Fix(optimizer): expand refs in QUALIFY into corresponding projections

* Add test to cover execution path where we have an AggFunc
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.

Pushdown projections seems to handle QUALIFY clauses incorrectly
2 participants