rxin commented on issue #24849: [SPARK-28018][SQL] Allow upcasting decimal to 
double/float
URL: https://github.com/apache/spark/pull/24849#issuecomment-501183063
 
 
   We shouldn't do this. Decimal guarantees no loss of precision (which is 
important for financial calculations). This type of cast is very dangerous.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to