dongjoon-hyun opened a new pull request, #57002:
URL: https://github.com/apache/spark/pull/57002

   ### What changes were proposed in this pull request?
   
   This PR adds `DecimalDivideBenchmark`, measuring per-row Decimal division 
(`select a / b`) for:
   
   - `decimal(7,2) / decimal(7,2)` — compact Long representation case
   - `decimal(38,18) / decimal(38,18)` — BigDecimal representation case
   - each shape also with an integer-literal divisor (`a / 2`, the TPC-DS q4 
`year_total` shape), with ANSI mode off and on
   
   Divisors are generated non-null and `>= 1` so the divide-by-zero branch is 
not measured.
   
   ### Why are the changes needed?
   
   To measure per-row Decimal division cost. 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Fable 5


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to