Phoenix500526 opened a new pull request, #12377:
URL: https://github.com/apache/arrow-rs/pull/12377

   # Which issue does this PR close?
   
   Part of #12373, which tracks the `arrow-cast` work for #12328. This PR 
covers one of four independent batches.
   
   # Rationale for this change
   
   Decimal conversion tests repeat substantial setup and assertions across 
decimal widths, precision, scale, and numeric target types.
   
   # What changes are included in this PR?
   
   - Add `rstest` as a development dependency with default features disabled.
   - Share test bodies for related decimal conversion, rounding, and overflow 
scenarios while retaining their original inputs and expected values.
   - Retain the existing Decimal128-to-Decimal256 dictionary scenario and add a 
true Decimal256-to-Decimal256 scenario; the old test name incorrectly described 
its Decimal128 input.
   - Preserve existing Miri exclusions. Leave the separate self-comparison test 
unchanged.
   
   Each batch includes the same dependency commit so it can build independently.
   
   # Are these changes tested?
   
   These changes refactor existing tests, preserving their parameter 
combinations and assertions. The `arrow-cast` unit, integration, and 
documentation tests pass with all features enabled on this branch.
   
   # Are there any significant user-facing changes?
   
   No. Production behavior and public APIs are unchanged.
   
   # AI usage disclosure
   
   OpenAI Codex helped refactor the tests, compare their coverage with the 
original tests, and prepare this PR.
   


-- 
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