Phoenix500526 opened a new issue, #12434:
URL: https://github.com/apache/arrow-rs/issues/12434

   ### Is your feature request related to a problem or challenge?
   
   Several `arrow-ord` tests repeat setup and assertions across data types, 
comparison operators, and sorting options. Named parameterized cases can make 
failures easier to identify and individual scenarios easier to run while 
reducing duplicated test bodies.
   
   ### Describe the solution you'd like
   
   Use `rstest` for selected sorting, comparison, and ranking tests. Preserve 
the existing inputs, expected results, scalar/array distinctions, dictionary 
key types, Decimal precision and scale, null handling, limit boundaries, and 
Miri exclusions. Keep shared random-data generation and tests that would not 
benefit from parameterization unchanged.
   
   Split the work into two independently buildable PRs:
   
   - [ ] Sorting tests in `arrow-ord/src/sort.rs`.
   - [ ] Comparison and ranking tests in `arrow-ord/src/cmp.rs`, 
`comparison.rs`, and `rank.rs`.
   
   Both PRs include the same small `rstest` dev-dependency commit. Close this 
tracking issue after both PRs have merged, regardless of merge order; neither 
PR should individually close it.
   
   ### Describe alternatives you've considered
   
   Keep existing helpers and test bodies where parameterization would add 
complexity without improving readability.
   
   ### Additional context
   
   Part of #12328. The implementation has been reviewed and tested locally and 
will be submitted as two draft PRs. The pre-existing missing millisecond 
Timestamp test coverage is outside this refactor and will be handled separately.
   
   ### 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]

Reply via email to