Skip to content

add malformed FLBA dictionary fixture for ARROW-RS-GH-11261 - #127

Merged
alamb merged 1 commit into
apache:masterfrom
HippoBaro:flba_dict
Oct 14, 2026
Merged

alamb merged 1 commit into
apache:masterfrom
HippoBaro:flba_dict

Conversation

@HippoBaro

@HippoBaro HippoBaro commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

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!

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]>
@HippoBaro

Copy link
Copy Markdown
Contributor Author

@alamb Sorry, this also needs to be reviewed and merged first. I had forgotten that apache/arrow-rs#11262 currently pins parquet-testing to HippoBaro:flba_dict (my fork) so the tests can pass against the fixture.

Once this is merged upstream, I’ll need a follow-up PR in arrow-rs to update the submodule reference.

Apologies for missing that dependency earlier!

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @HippoBaro

@alamb
alamb merged commit 3acde70 into apache:master Oct 14, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants