forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hash join changes for probe side spilling support (facebookincubator#…
…8926) Summary: The hash join related changes made to support probe side spilling: 1. hash build operator is always waiting for the hash probe to finish no matter there is pending spilled partition to restore or not. The reason is that the hash probe might trigger spilling as well. This requires the change in hash build operator and the corresponding API change in hash join bridge: setHashTable 2. extend hash join bridge to add setSpilledHashTable API which used by hash probe operator to save the spilled table partitions in the hash join bridge. The function also clears the the spilled hash table cached in the build result in hash join bridge to release the held memory resource. 3. extend hash join node reclaimer to reclaim from both build and probe side once. 4. extend hash table clear() method to support free table used by probe side to free up memory held by the spilled build table. The actual probe side spilling is in followup. Pull Request resolved: facebookincubator#8926 Reviewed By: mbasmanova Differential Revision: D54403110 Pulled By: xiaoxmeng fbshipit-source-id: bae9509e7de996ed2c368ee74b572f69df4802ce
- Loading branch information
1 parent
ccb464b
commit eba938b
Showing
9 changed files
with
237 additions
and
275 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
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.