sarutak edited a comment on pull request #34593:
URL: https://github.com/apache/spark/pull/34593#issuecomment-978897180


   I investigated whether the major DBMS and query processing systems 
(PostgreSQL, BigQuery, Snowflake, MySQL, SAP HANA, MS SQL Server, Firebird, 
DB2, Teradata, Hive) support the third parameter of `round` but I found only 
SAP HANA and MS SQL Server do.
   
   @sathiyapk 
   How many users need to change the rounding modes and how often the 
additional rounding modes are used?
   If users really need `up`, `down` and `half_down`, I think it's not 
difficult to implement using `BigDecimal.setScale`.
   
   @HyukjinKwon @gengliangwang What do you think?
   


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