turboFei commented on a change in pull request #25701: [SPARK-29000][SQL] Decimal precision overflow when don't allow precision loss URL: https://github.com/apache/spark/pull/25701#discussion_r321598873
########## File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala ########## @@ -3180,6 +3180,15 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession { } } + + test("SPARK-29000: arithmetic computation overflow when don't allow decimal precision loss ") { + val allow = sql("set spark.sql.decimalOperations.allowPrecisionLoss") Review comment: thanks ---------------------------------------------------------------- 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