-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement Parquet GH-583 INT96 timestamp ColumnOrder
#10106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+119
−8
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
3821611
add total order enum variants
etseidl fca8c2e
clean up sort_order
etseidl 032ded6
add nan counts from @Xuanwo
etseidl 00d2786
mod tests for new float ordering
etseidl 410f365
add more tests from @Xuanwo
etseidl e0f9d07
clippy and formatting
etseidl 08b77cb
add test of mixed all-nan/some-nan/no-nan pages
etseidl 0621be1
fix NaN updates across pages
etseidl 2da596c
fix comment
etseidl 008749d
must always write nan count, even if 0
etseidl 88a8306
add row_group_nan_counts to StatisticsConverter
etseidl d57bb50
forgot nan counts in convert_stats()
etseidl e3cddc8
add nan counts for pages
etseidl 87def04
actually write out the nan counts
etseidl 6af5aa0
add interoperability test
etseidl 5ad31fd
add a from scratch round trip test
etseidl 5de1817
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl e43b0dc
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl fa7840e
add nan_count to test
etseidl d483171
fix test sizes
etseidl 844a616
try a few micro-optimizations
etseidl d533f73
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl e09cce0
finish merge
etseidl 30f50ca
fix another merge issue
etseidl 396edf0
rework is_nan to avoid PartialEq::eq calls
etseidl 13dc03b
rework compare_greater to avoid calls to logical_type_ref in inner loop
etseidl 091ce4b
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl d7030b3
fix some merge leftovers
etseidl d0b93d4
compute nan_count with stats, saves a pass through the data
etseidl 18b0222
rework compare_greater
etseidl 0aae820
fix cut/paste error
etseidl 68c52b3
update parquet-testing to get test file
etseidl afe7d40
add test for new file
etseidl c358922
suggestions from review
etseidl 7f19b55
rework min/max handling to remove unwrap
etseidl f98c8b3
rework nan handling in update_column_offset_index
etseidl 4ff46cc
fix get_nan_count...it should never return None for floats
etseidl d01374f
fix another i64->u64 conversion
etseidl 570f6de
cut/paste error
etseidl 2832bd8
clean up some comments
etseidl 4ee0ad7
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl 134a42b
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl b422a69
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl 5f03523
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl e8b49e2
format
etseidl bf74a28
clippy
etseidl 0d6c063
Merge remote-tracking branch 'origin/main' into total_order_514
etseidl 30b29dc
deprecate sort_order_for_type and refactor a little
etseidl 766cc97
format
etseidl c0eeaf1
update deprecation to 60.0.0
etseidl 422102a
Merge remote-tracking branch 'origin/main' into deprecate_sort_order_…
etseidl 8e4d78c
Update parquet/src/basic.rs
alamb 81945fb
Merge branch 'main' into deprecate_sort_order_for_type
alamb 3af23c2
rough draft
etseidl d1c2970
match name used in PR
etseidl c6e5270
add proper references to the format PR
etseidl 4f51c2a
add test
etseidl 6103f4f
update test to use file from parquet-testing
etseidl 509428f
update parquet-testing
etseidl 631526f
add doc link
etseidl 6b5d992
refactor test
etseidl 529b615
Merge remote-tracking branch 'origin/main' into int96_order
etseidl edc8933
refactor test a bit more
etseidl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule parquet-testing
updated
8 files
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should also link to the current parquet.thrift spec?
https://github.com/apache/parquet-format/blob/2076361bb64e2de9ca6a8d06eda025a6fa4e9df6/src/main/thrift/parquet.thrift#L1230-L1233
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in 631526f