Vitalii Li created SPARK-39060: ---------------------------------- Summary: Typo in error messages of decimal overflow Key: SPARK-39060 URL: https://issues.apache.org/jira/browse/SPARK-39060 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 3.2.1 Reporter: Vitalii Li
``` -- !query select (5e36BD + 0.1) + 5e36BD -- !query schema struct<> -- !query output org.apache.spark.SparkArithmeticException [CANNOT_CHANGE_DECIMAL_PRECISION] Decimal(expanded,10000000000000000000000000000000000000.1,39,1}) cannot be represented as Decimal(38, 1). If necessary set "spark.sql.ansi.enabled" to false to bypass this error. == SQL(line 1, position 7) == select (5e36BD + 0.1) + 5e36BD ^^^^^^^^^^^^^^^^^^^^^^^ ``` -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org