-
- Downloads
[SPARK-17158][SQL] Change error message for out of range numeric literals
## What changes were proposed in this pull request? Modifies error message for numeric literals to Numeric literal <literal> does not fit in range [min, max] for type <T> ## How was this patch tested? Fixed up the error messages for literals.sql in SqlQueryTestSuite and re-ran via sbt. Also fixed up error messages in ExpressionParserSuite Author: Srinath Shankar <srinath@databricks.com> Closes #14721 from srinathshankar/sc4296.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala 18 additions, 11 deletions...ala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
- sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala 6 additions, 3 deletions...che/spark/sql/catalyst/parser/ExpressionParserSuite.scala
- sql/core/src/test/resources/sql-tests/results/literals.sql.out 3 additions, 3 deletions...ore/src/test/resources/sql-tests/results/literals.sql.out
Please register or sign in to comment