-
Notifications
You must be signed in to change notification settings - Fork 794
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
Add round trip tests for reading/writing parquet metadata #6463
Add round trip tests for reading/writing parquet metadata #6463
Conversation
9d86460
to
51516af
Compare
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
|
Good idea, I did it in 9045968 |
@@ -377,300 +377,3 @@ impl<'a, W: Write> ParquetMetaDataWriter<'a, W> { | |||
} | |||
} | |||
} | |||
|
|||
#[cfg(test)] |
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.
Removed per @adriangb 's comment: #6463 (comment)
81e6fff
to
4f6785f
Compare
Co-authored-by: Matthijs Brobbel <[email protected]>
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.
Thank you @mbrobbel for the review
…et_metadata_roundtrip
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