oleggator opened a new issue, #11886: URL: https://github.com/apache/datafusion/issues/11886
At the moment, DataFusion casts floats to integers using the floor function. Is it possible to configure this behavior? ## Actual ``` select cast(2.8 as int) as result; +--------+ | result | +--------+ | 2 | +--------+ ``` ## Expected This way work Postgresql and MySQL. ``` select cast(2.8 as int) as result; +--------+ | result | +--------+ | 3 | +--------+ ``` -- 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]
