forked from apache/parquet-format
-
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.
PARQUET-686: Add Order to store the order used for min/max stats.
This adds a new enum, `Order`, that will be set to the order used to produce the min and max values in all `Statistics` objects (at the page level). `Order` has 8 symbols: `SIGNED`, `UNSIGNED`, and 6 symbols for custom orderings. This also adds a `CustomOrder` struct that is used to map the custom order symbols to string descriptors, such as [order keywords used by ICU collating sequences](http://userguide.icu-project.org/collation/api#TOC-Instantiating-the-Predefined-Collators). `CustomOrder` mappings are stored in the file footer. Author: Ryan Blue <blue@apache.org> Closes apache#46 from rdblue/PARQUET-686-add-stats-ordering and squashes the following commits: f878c34 [Ryan Blue] PARQUET-686: Remove Order enum. 9447fb8 [Ryan Blue] PARQUET-686: Use "is" instead of "must be". ffbb60b [Ryan Blue] PARQUET-686: Store ColumnOrder as a union. c6e43b0 [Ryan Blue] PARQUET-686: Add new min_value and max_value stats. eed4d47 [Ryan Blue] PARQUET-686: Add clarifications from review comments. 9962df8 [Ryan Blue] PARQUET-686: Remove is_ascending and number columns starting with 1. faa9edb [Ryan Blue] PARQUET-686: Add order specs to logical types. 4534062 [Ryan Blue] PARQUET-686: Add ColumnOrders to FileMetaData.
- Loading branch information
Showing
2 changed files
with
88 additions
and
1 deletion.
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