lidavidm opened a new pull request #11313:
URL: https://github.com/apache/arrow/pull/11313


   This adds decimal support for the following kernels (and _checked variants 
where applicable): abs, acos, add/sub/mul/div, asin, atan, atan2, ceil, cos, 
floor, hash_stddev, hash_tdigest, hash_variance, is_finite, is_inf, is_nan, ln, 
log1p, log2, logb, mode, negate, power, quantile, round, round_to_multiple, 
sign, sin, stddev/variance, tan, tdigest, trunc
   
   Most kernels cast decimals to double and proceed. Some, including rounding, 
directly operate on decimals. Aggregate kernels directly operate on decimals 
(and cast to double inline) since DispatchBest is not usable for the aggregate 
nodes (at least, unless we also reimplement implicit casting there).
   
   Additionally, ValidateFull for scalars/arrays now checks FitsInPrecision. A 
number of tests were adjusted to account for this. 


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