-
Notifications
You must be signed in to change notification settings - Fork 72
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
Remove EliminateAggDistinct
optimizer rule, implement distinct aggs in Python
#1006
Remove EliminateAggDistinct
optimizer rule, implement distinct aggs in Python
#1006
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #1006 +/- ##
==========================================
+ Coverage 80.47% 80.60% +0.13%
==========================================
Files 75 75
Lines 4231 4234 +3
Branches 765 766 +1
==========================================
+ Hits 3405 3413 +8
+ Misses 662 653 -9
- Partials 164 168 +4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Changes lgtm!
This PR attempts to remove the
EliminateAggDistinct
optimizer rule and instead handle distinct aggregations directly from the Python aggregate plugin usingdrop_duplicates
.This ideally should unblock the groupby related failures cropping up in #998 and resolve the existing groupby agg failures that we had seen in test_compatibility.py.