forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow pushdown of dynamic filters through HashAggregation (facebookin…
…cubator#10988) Summary: Currently, in HashAggregation, only when the aggregation is distinct, the channel of the group key is added to the identity projections. This results in a situation where, when the group key matches the join key, the dynamic filters generated by HashProbe cannot be pushed down through HashAggregation. This pr supports dynamic filters push down through HashAggregation when group key and join key is the same. This optimization applies to plans like: ``` - HashProbe(k1 = k2,...) - HashAggregation(k1, sum(x)) - TableScan ``` Pull Request resolved: facebookincubator#10988 Reviewed By: kevinwilfong Differential Revision: D63035508 Pulled By: Yuhta fbshipit-source-id: 7fb336adb17154c54658a7db518a94b79157efce
- Loading branch information
1 parent
023be97
commit 7463706
Showing
3 changed files
with
82 additions
and
5 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