-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Vectorized hash grouping #6904
Merged
Merged
Vectorized hash grouping #6904
Changes from 13 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
54a5c95
Vectorized hash grouping
alamb 1991a76
Prepare for merge to main
alamb 8464816
Improve comments and update size calculations
alamb 4bd3066
Implement test for accumulate_boolean
alamb 7c97b24
Use resize instead of resize_with
alamb 3ca27ac
fix avg size calculation
alamb e4a52f9
Simplify sum accumulator
alamb f9eaa68
Add comments explaining i64 as counts
alamb fc96b13
Clarify `aggreate_arguments`
alamb 9db6f4b
Apply suggestions from code review
alamb edc8c43
Merge remote-tracking branch 'apache/main' into alamb/fast_gby_hash
alamb 19b8981
Merge branch 'alamb/fast_gby_hash' of github.com:alamb/arrow-datafusi…
alamb 90f8730
Clarify rationale for ScratchSpace being a field
alamb 3369ec1
use slice syntax
alamb 4124bfa
Merge remote-tracking branch 'apache/main' into alamb/fast_gby_hash
alamb 58e3b6d
Update datafusion/physical-expr/src/aggregate/average.rs
alamb 47135ba
Update datafusion/physical-expr/src/aggregate/count.rs
alamb 744b4aa
Update datafusion/physical-expr/src/aggregate/groups_accumulator/adap…
alamb c3d5ff2
fix diagram
alamb 92f6234
Update datafusion/physical-expr/src/aggregate/groups_accumulator/adap…
alamb f35f2ae
Merge branch 'alamb/fast_gby_hash' of github.com:alamb/arrow-datafusi…
alamb d19c41e
simplify the supported logic
alamb da911a3
Add a log message when using slow adapter
alamb de7b250
fmt
alamb b313278
Revert "chore(deps): update bigdecimal requirement from 0.3.0 to 0.4.…
alamb 2bff155
Make FileScanConfig::project pub (#6931)
Dandandan 453b71e
feat: add round trip test of physical plan in tpch unit tests (#6918)
r4ntix 32ff16e
Use thiserror to implement the From trait for DFSqlLogicTestError (#6…
jonahgao 54f96e6
parallel csv scan (#6801)
2010YOUY01 d96dfa2
Add additional test coverage for aggregaes using dates/times/timestam…
alamb a98b6a0
Support timestamp types for min/max
alamb 5ab75b1
Fix aggregate nullability calculation
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,4 +70,4 @@ lto = false | |
opt-level = 3 | ||
overflow-checks = false | ||
panic = 'unwind' | ||
rpath = false | ||
rpath = false |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
896 changes: 351 additions & 545 deletions
896
datafusion/core/src/physical_plan/aggregates/row_hash.rs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
I refactored this calculation into its own function as leaving it inline in the group code made it harder to follow in my opinion