gengliangwang commented on issue #25137: [SPARK-28348][SQL] Decimal precision 
promotion for binary arithmetic with casted decimal type
URL: https://github.com/apache/spark/pull/25137#issuecomment-511815571
 
 
   @maropu I just checked and find PostgreSQL and MySQL has bigger precision 
than Spark's(max precision as 38): 
   > The maximum allowed precision when explicitly specified in the type 
declaration is 1000; 
   https://www.postgresql.org/docs/10/datatype-numeric.html
   
   > M is the maximum number of digits (the precision). It has a range of 1 to 
65.
   
https://dev.mysql.com/doc/refman/5.7/en/precision-math-decimal-characteristics.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.
 
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