cloud-fan commented on a change in pull request #26497: 
[SPARK-29873][SQL][TESTS] Support `--import` directive to load queries from 
another test case in SQLQueryTestSuite
URL: https://github.com/apache/spark/pull/26497#discussion_r346142918
 
 

 ##########
 File path: 
sql/core/src/test/resources/sql-tests/inputs/ansi/decimalArithmeticOperations.sql
 ##########
 @@ -0,0 +1,32 @@
+-- SPARK-23179: SQL ANSI 2011 states that in case of overflow during 
arithmetic operations,
+-- an exception should be thrown instead of returning NULL.
+-- This is what most of the SQL DBs do (eg. SQLServer, DB2).
+
 
 Review comment:
   ah this is nasty, but no better ideas.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to