-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update groupby result_cache to allow sharing intermediate results bas…
…ed on column_view instead of requests. (#9195) This PR updates groupby result_cache to use `pair<column_view, aggregation>` as key to unordered_map. This allows to cache intermediate results based on the column view. So, it is possible to cache children column_view results and can be resused in other aggregation_request. Depends on #9185 shallow_hash and is_shallow_equivalent are used for column_view. Additional context: This change is required to cache children column intermediate results in #9154 and allows to be shared across multiple aggregation requests. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Jake Hemstad (https://github.com/jrhemstad) - Vyas Ramasubramani (https://github.com/vyasr) URL: #9195
- Loading branch information
1 parent
2f75ff3
commit 1424a2d
Showing
7 changed files
with
175 additions
and
171 deletions.
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
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.