Refactor parquet tests with rstest

Aperta
#12,388 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Phoenix500526 ci sta già lavorando.

Dal 21/11/2026.

  • #12362 di @Phoenix500526 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Is your feature request related to a problem or challenge?

Selected tests in parquet repeat setup and assertions or group independent scenarios inside loops. This makes individual cases harder to read and failures harder to identify.

This issue tracks the parquet portion of #12328. The implementation is already prepared in #12362 and is awaiting review.

Describe the solution you'd like

Use named rstest cases and independent parameters where they improve readability. The prepared scope is:

  • Parameterize row-selection masks, page boundaries, RLE and bit-reader operations, definition levels, Bloom filters, metadata updates, and data-page null counts.
  • Parameterize synchronous and asynchronous legacy fixed-length byte-array reads and asynchronous row filtering.
  • Separate dictionary-capacity success from overflow and isolate zero-width and empty-buffer checks.
  • Preserve input combinations, seeded data, feature gates, Miri exclusions, and stateful skip/read/EOF and row-group traversal checks.

Preserve existing behavioral coverage and keep data-generation or stateful loops where they are clearer. This scope changes tests, test helpers, and development dependencies only; no production behavior or public API changes are intended.

Describe alternatives you've considered

Keep existing tests unchanged where parameterization would not improve readability. This issue tracks the selected refactors above, not a requirement to convert every test in the crate.

Additional context

Part of #12328. Implementation: #12362.

Willingness to contribute

I plan to contribute to this feature independently.

Lingua principale
Rust
Stelle
3.7k
Fork
1.5k
Merge medio
2g 16h
PR unite (30g)
183

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/arrow-rs

Tutte le issue di apache/arrow-rs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.