kumarUjjawal commented on PR #20793:
URL: https://github.com/apache/datafusion/pull/20793#issuecomment-4324410781

    
https://github.com/apache/datafusion/blob/a4c60ed16d5f081b38806029d9742919a1ed06d9/datafusion/functions/src/math/ceil.rs#L211
   
   
https://github.com/apache/datafusion/blob/a4c60ed16d5f081b38806029d9742919a1ed06d9/datafusion/functions/src/math/floor.rs#L251
   
   `inputs[0].data_type()` returns the input type `Decimal(p, s)`, but the 
output is now `Decimal(p, 0)`. The interval returned by `evaluate_bounds` 
should use the output type.


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