-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for testing peeling in expression fuzzer (#11379)
Summary: Pull Request resolved: #11379 This change allows wrapping input columns with a shared dictionary layer, to exercise code paths that handle dictionary peeling of multiple inputs. Previously, only single inputs could be peeled due to differing dictionary wraps across columns. This allows us to replicate vectors that are produced by joins or unnest or filters. It achieves this by first picking columns that are not encoded (as multiple dictionary layers will soon be phased out), then wrapping them just before passing them to evaluation. This change also adds the ability to serialize these common wraps to ensure easy repro using ExpressionRunnerTest. 'common_dictionary_wraps_generation_ratio' startup flag is used to enable this feature. Reviewed By: kagamiori Differential Revision: D64436877 fbshipit-source-id: 04980136423eaec5b7d0b185c8e007a73e9bac41
- Loading branch information
1 parent
a33e8d7
commit 4a79bc5
Showing
16 changed files
with
413 additions
and
190 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.