Ted-Jiang opened a new issue, #8795:
URL: https://github.com/apache/arrow-datafusion/issues/8795

   
https://github.com/apache/arrow-datafusion/blob/f0af5eb949e2c5fa9f66eb6f6a9fcdf8f7389c9d/datafusion/expr/src/built_in_function.rs#L899-L915
   
   from this code floor() only retun `float` type
   
   
   but from postgresql
   ```
   floor ( numeric ) → numeric
   
   floor ( double precision ) → double precision
   
   Nearest integer less than or equal to argument
   
   floor(42.8) → 42
   
   floor(-42.8) → -43
   ```
   https://www.postgresql.org/docs/current/functions-math.html


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