gengliangwang opened a new pull request #25461: [SPARK-28741][SQL]Throw 
exceptions when casting to integers causes overflow
URL: https://github.com/apache/spark/pull/25461
 
 
   ## What changes were proposed in this pull request?
   
   To follow ANSI SQL, we should support a configurable mode that throws 
exceptions when casting to integers causes overflow.
   The behavior is similar to 
https://issues.apache.org/jira/browse/SPARK-26218, which throws exceptions on 
arithmetical operation overflow.
   To unify it, the configuration is renamed from 
"spark.sql.arithmeticOperations.failOnOverFlow" to 
"spark.sql.failOnIntegerOverFlow"
   ## How was this patch tested?
   
   Unit test
   

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