Add round trip tests for reading/writing parquet metadata#6463
Merged
alamb merged 5 commits intoapache:masterfrom Oct 5, 2024
Merged
Add round trip tests for reading/writing parquet metadata#6463alamb merged 5 commits intoapache:masterfrom
alamb merged 5 commits intoapache:masterfrom
Conversation
This was referenced Sep 26, 2024
9d86460 to
51516af
Compare
Contributor
|
I think this PR or a subsequent one can also then delete these tests that I wrote before we had the dedicated reader: arrow-rs/parquet/src/file/metadata/writer.rs Lines 416 to 676 in 2cc0c16 |
Contributor
Author
Good idea, I did it in 904596859b |
alamb
commented
Sep 26, 2024
parquet/src/file/metadata/writer.rs
Outdated
Contributor
Author
There was a problem hiding this comment.
Removed per @adriangb 's comment: #6463 (comment)
81e6fff to
4f6785f
Compare
mbrobbel
approved these changes
Oct 3, 2024
Co-authored-by: Matthijs Brobbel <[email protected]>
…et_metadata_roundtrip
Contributor
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Draft as this PR builds on #6466
Which issue does this PR close?
Part of #6002
Rationale for this change
@adriangb , @etseidl and myself were unclear what happens when parquet metadata that has been serialized directly with the ParquetMetaDataWriter: https://github.com/apache/arrow-rs/pull/6081/files#r1773996251
I figured the best way to find out was to write some tests for it 🤓
What changes are included in this PR?
Are there any user-facing changes?
No, just tests