-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Rule ReplaceDistinctWithAggregate #5354
Conversation
retest please |
I have re-run the failed tests. Looks like something is wrong with GHA 😂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look great to me. Thanks @mingmwang
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is no new review comments, I prepare to merge this PR in a day.
Benchmark runs are scheduled for baseline = 4d4c567 and contender = a870e46. a870e46 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Closes #5348.
Rationale for this change
Add a rule to replace the logical
Distinct
with the logicalAggregate
, so that other logical rules do not need to handleDistinct
additionally besides theAggregate
. This will simply the other logical rules, sometime they might handle theAggregate
but forget to handleDistinct
.What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?