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

   ## Which issue does this PR close?
   
   Closes #11067.
   
   ## What changes are included in this PR?
   
   Normalize Decimal256 inputs with Variant-compatible precision and scale to 
the appropriate decimal width. Use strict casts and check physical decimal 
narrowing so overflow returns an error and null payloads are skipped safely.
   
   ## Are these changes tested?
   
   Regression coverage includes Parquet files with 17- and 32-byte decimal 
columns, signed values, precision limits, overflow, nulls, and slices. Arrow 
cast and Variant tests, the Parquet regression, formatting, and Clippy pass 
with Rust 1.98.1.
   
   ## Are there any user-facing changes?
   
   Variant readers accept wide physical decimals with precision at most 38. 
Higher precision remains unsupported.
   
   Implementation and tests developed with Codex assistance.
   


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