Refactor arrow-select tests with rstest
I maintainer di solito rispondono entro 1 giorno
@Phoenix500526 ci sta già lavorando.
Dal 23/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Is your feature request related to a problem or challenge?
Selected arrow-select tests repeat setup and assertions or hide independent parameter combinations in nested loops. This makes individual scenarios harder to read and failures harder to identify.
This issue tracks the arrow-select portion of #12328.
Describe the solution you'd like
Use named rstest cases and independent parameters where they improve readability:
- Parameterize selected filter, take, zip, and window tests while retaining their parameter combinations and assertions.
- Consolidate repeated coalesce, interleave, merge, nullif, and Union extraction scenarios, retaining input layouts, null handling, slicing, expected results, and error checks.
- Keep stateful sequences, including consecutive
BufferSourcerequests, together within each case. - For randomized tests split into independent cases, derive reproducible seeds from the parameters. Preserve the parameter matrix and checks; the generated samples need not be byte-for-byte identical to the previous shared RNG sequence.
- Retain existing Miri exclusions and avoid expanding combinations without a coverage reason.
The scope is tests, test helpers, and development dependencies only. No production behavior or public API changes are intended.
Describe alternatives you've considered
Keep tests unchanged where parameterization would add complexity or obscure sequential behavior. This is not a requirement to convert every test in the crate.
Additional context
Part of #12328. Selected refactors have been prepared locally. The current branch passes cargo test -p arrow-select --all-features, including 1323 unit tests and 20 documentation tests, and crate-level Clippy checks.
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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/arrow-rs
-
parquet: `ArrowWriter::try_new` panics on a schema with a Union field instead of returning an errorAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
`RunArray::try_new` rejects run ends whose null buffer has no nullsForse già presa @Surajsuthar l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/arrow-rs#12427 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Variant] `variant_get` string and binary cast errors show Rust builder type namesForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/arrow-rs
Issue simili
-
area:ui effort:medium enhancement P7 source:agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
machine rename accepts a label already used by another machine, making --machine <label> ambiguousApertamaintainer-needed p2 remote triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
userFRM/egui-charts#4605 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno