Refactor arrow-cmp tests with rstest

Abierto
#12,432 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Phoenix500526 ya está trabajando en esto.

Desde el 24/11/2026.

  • #12433 de @Phoenix500526 — cerrado sin fusionar

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Is your feature request related to a problem or challenge?

Several arrow-cmp tests repeat comparator setup and assertions across data types or sorting options. Parameterizing these scenarios would make individual cases easier to identify and run while reducing duplicated test bodies.

Describe the solution you'd like

Use rstest for selected Decimal, dictionary, nested array, and Dense Union comparison tests. Keep the existing inputs, precision and scale settings, sorting options, comparison indices, expected results, and error checks. Keep short or behaviorally distinct tests separate instead of converting every test.

Describe alternatives you've considered

Keep the existing tests and generic helpers. These remain appropriate where parameterization would add complexity without improving readability.

Additional context

Part of #12328. The implementation has been prepared locally and will be submitted as a draft PR.

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/arrow-rs

Todos los issues de apache/arrow-rs

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.