You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Jefffrey I wanted to get your views before jumping on the implementation. I was thinking of replacing the current make_math_unary_udf! wiring for ceil/floor with dedicated UDF structs so we can add a decimal-aware execution path coercing ints/floats but letting Decimal128 pass through and operating directly on the unscaled i128. Does that sound like the right direction?
Activity
viirya commentedon Sep 28, 2023
I guess they supports it but a type coercion will happen on decimal input (to float type). Native support is not there though.
[-]Add Decimal128 support Ceil and Floor[/-][+]Add Decimal128 support to Ceil and Floor[/+]Weijun-H commentedon Sep 29, 2023
I think @viirya is correct.
kumarUjjawal commentedon Nov 26, 2025
@kazuyukitanimura Is this still a requirement, I can take a look at it.
Jefffrey commentedon Nov 26, 2025
Yes this would still be good to have
kumarUjjawal commentedon Nov 27, 2025
Thank you!
kumarUjjawal commentedon Nov 27, 2025
@Jefffrey I wanted to get your views before jumping on the implementation. I was thinking of replacing the current
make_math_unary_udf!wiring for ceil/floor with dedicated UDF structs so we can add a decimal-aware execution path coercing ints/floats but lettingDecimal128pass through and operating directly on the unscaledi128. Does that sound like the right direction?Jefffrey commentedon Nov 27, 2025
That sounds like the approach we'd need to take
kumarUjjawal commentedon Nov 27, 2025
Great! Thanks
Add Decimal support to Ceil and Floor (#18979)