experiment: remove current final agg check and see what breaks#2886
Closed
andygrove wants to merge 8 commits into
Closed
experiment: remove current final agg check and see what breaks#2886andygrove wants to merge 8 commits into
andygrove wants to merge 8 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2886 +/- ##
============================================
+ Coverage 56.12% 59.31% +3.18%
- Complexity 976 1374 +398
============================================
Files 119 167 +48
Lines 11743 15347 +3604
Branches 2251 2549 +298
============================================
+ Hits 6591 9103 +2512
- Misses 4012 4957 +945
- Partials 1140 1287 +147 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
Author
|
Spark SQL Test Failures: These tests may need updating because Comet is now accelerating more queries. oore-1core-2core-3 |
…t hash agg for Spark 3.5
Member
Author
|
Genuine failure with mixed Spark/Comet hash agg: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Part of #2887
Rationale for this change
Comet currently falls back to Spark for final aggregates if Comet did not accelerate the partial aggregate. This is overly aggressive, and since final aggregations are often the leaf nodes in a query stage, we are unnecessarily falling back for entire stages.
What changes are included in this PR?
CometHashAggregateExecso that the fallback for final aggregates only happens in cases where a Comet partial aggregate would not be compatible, rather than in all casesCometExecRuleHow are these changes tested?