Repository navigation
add malformed FLBA dictionary fixture for ARROW-RS-GH-11261 - #127
Merged
Merged
Conversation
Cover historical length-prefixed FLBA dictionaries and PLAIN fallback pages, `DELTA_LENGTH_BYTE_ARRAY` pages, V1/V2 layouts, and Snappy in a single file with 13 row groups. Document expected values and pre-fix writer provenance. Signed-off-by: Hippolyte Barraud <[email protected]>
Contributor
Author
|
@alamb Sorry, this also needs to be reviewed and merged first. I had forgotten that apache/arrow-rs#11262 currently pins Once this is merged upstream, I’ll need a follow-up PR in Apologies for missing that dependency earlier! |
adriangb
pushed a commit
to pydantic/arrow-rs
that referenced
this pull request
Oct 15, 2026
# Which issue does this PR close? NA. Follow-up to apache#11262 and apache/parquet-testing#127. # Rationale for this change The malformed FLBA compatibility fixture has merged upstream. # What changes are included in this PR? Update the `parquet-testing` pin to upstream commit `3acde70509f9`. The submodule URL and fixture contents are unchanged. # Are these changes tested? Covered by existing Parquet tests, which pass with the reinitialized submodule. No new tests are needed for this pin-only change. # Are there any significant user-facing changes? No. Signed-off-by: Hippolyte Barraud <[email protected]> Co-authored-by: Ed Seidl <[email protected]>
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.
See apache/arrow-rs#11261 for details.
Since arrow-rs has historically produced malformed files of this shape, we’d like to register representative payloads here as compatibility fixtures. Although the writer is now being fixed for newly created files, we plan for the Rust reader to still be able to read these older files on a best-effort basis.
The malformed file is 5.87 KB is size comes from the pre-fix writer. It covers V1/V2 pages, nullable and nested values, dictionary fallback, and compression. Keeping these fixtures in the test suite ensures we preserve that backward compatibility and don’t force users to rewrite existing data.
Thank you!