Phoenix500526 opened a new issue, #12412: URL: https://github.com/apache/arrow-rs/issues/12412
### 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 `BufferSource` requests, 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
