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.
Add option to disable flatenning optimization in PrestoSerializer (fa…
…cebookincubator#11465) Summary: Pull Request resolved: facebookincubator#11465 This change introduces an option, "preserveEncodings" to the SerDe Options, to disable the flattening optimization in the PrestoBatchVectorSerializer, enabling support for use-cases where encodings need to be preserved between the serialization and deserialization steps. Note: There are still 2 cases where encodings can be lost: 1. Nulls in dictionary layer: Presto page format does not support having nulls so this gets flattened 2. If there are multiple levels of dictionary or a constant underneath: Currently, the presto serializer only preserves the top most layer and flattens everything underneath it. Reviewed By: kevinwilfong, kagamiori Differential Revision: D65569946 fbshipit-source-id: 5e38dce14d8741b504d8adc6159551d89af663c9
- Loading branch information
1 parent
b146dee
commit 5544d0a
Showing
3 changed files
with
90 additions
and
58 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