cloud-fan commented on pull request #34593: URL: https://github.com/apache/spark/pull/34593#issuecomment-979352361
@sathiyapk you are right, but I can also argue that the `round` function with a rounding mode can not do what I want by using the `floor`/`ceil` function with a scale parameter. The problem is which behavior is more common/reasonable and can be useful to more users? We can collect more data points, I found one example that snowflake supports scale parameter in floor/ceil: https://docs.snowflake.com/en/sql-reference/functions/floor.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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
