-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PartitionIdGenerator's multiplier initialization for VectorHasher (…
…#9713) Summary: When having N columns, PartitionIdGenerator relies on N VectorHashers to generate ValueIds, with each VectorHasher’s multiplier correctly set up. However when having multiple bool columns, it triggers a corner case that VectorHasher’s multipliers won’t be set at all. Add multiplierInitialized flag and properly set it to fix this corner case. Pull Request resolved: #9713 Reviewed By: xiaoxmeng, spershin Differential Revision: D57062896 Pulled By: kewang1024 fbshipit-source-id: b02002e1e920735606eb830be2a025fde5a8d101
- Loading branch information
1 parent
7cfb42f
commit ac55339
Showing
3 changed files
with
34 additions
and
3 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