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

   # Which issue does this PR close?
   
   Closes #11300.
   
   # Rationale for this change
   
   Overflow masking resets a decimal array's precision and scale, changing how 
surviving values are interpreted.
   
   # What changes are included in this PR?
   
   Preserve the input data type after overflow masking.
   AI-generated material: the method change and the four regression tests.
   
   # Are these changes tested?
   
   Regression tests cover Decimal32, Decimal64, Decimal128, and Decimal256.
   They check precision, scale, surviving coefficients, nulls, slices, empty 
arrays, negative scale, and formatted values.
   
   # Are there any significant user-facing changes?
   
   No public API change.
   
   Codex used.
   


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