Refactor arrow-select tests with rstest
Los mantenedores suelen responder en 1 día
@Phoenix500526 ya está trabajando en esto.
Desde el 23/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 3.7k
- Forks
- 1.5k
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 183
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/arrow-rs
-
parquet: `ArrowWriter::try_new` panics on a schema with a Union field instead of returning an errorAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
`RunArray::try_new` rejects run ends whose null buffer has no nullsPosiblemente ocupada @Surajsuthar la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/arrow-rs#12427 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Variant] `variant_get` string and binary cast errors show Rust builder type namesQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/arrow-rs
Issues similares
-
area:ui effort:medium enhancement P7 source:agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
machine rename accepts a label already used by another machine, making --machine <label> ambiguousAbiertomaintainer-needed p2 remote triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4605 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día