sdf-jkl opened a new pull request, #11416:
URL: https://github.com/apache/arrow-rs/pull/11416

   # Which issue does this PR close?
   
   - Relates to #10795 and #11309.
   - Adds Variant benchmark coverage for #11302 and the integer conversion fix 
tracked in #11309.
   
   # Rationale for this change
   
   The existing `variant_get` benchmarks do not cover integer or floating-point 
conversion to decimals. These cases provide a baseline for measuring changes to 
precision validation and scaling behavior.
   
   # What changes are included in this PR?
   
   Add 16 cases covering successful safe/strict conversions, scaling, 
Decimal256 output, precision overflow, and non-finite floating-point inputs.
   
   Fixtures contain 8,192 unshredded Variant rows with approximately 10% nulls 
and a fixed RNG seed. They reuse the existing benchmark helper, with fixture 
construction outside timing.
   
   Float precision-overflow cases run before and after #11302, although their 
outputs differ: the fix replaces out-of-precision values with nulls.
   
   # Are these changes tested?
   
   This PR adds benchmarks only. All 16 cases were smoke-tested and measured 
against #11302 and its base. No library behavior changes or additional unit 
tests are included.
   
   # Are there any significant user-facing changes?
   
   No.
   
   # AI usage
   
   Developed with assistance from OpenAI Codex for implementation, validation, 
and this description.
   


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