You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2021/10/29 09:01:52 UTC

[spark] branch master updated (f258d30 -> e582799)

This is an automated email from the ASF dual-hosted git repository.

wenchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git.


    from f258d30  [SPARK-37134][PYTHON][DOCS] Clarify the options in "Using PySpark Native Features"
     add e582799  [SPARK-37149][SQL] Improve error messages for arithmetic overflow exceptions under ANSI mode

No new revisions were added by this update.

Summary of changes:
 core/src/main/resources/error/error-classes.json   |  6 +--
 .../org/apache/spark/SparkThrowableSuite.scala     |  4 +-
 .../sql/catalyst/expressions/arithmetic.scala      | 40 +++++++-------
 .../spark/sql/catalyst/util/IntervalUtils.scala    | 22 ++++----
 .../apache/spark/sql/catalyst/util/MathUtils.scala | 61 ++++++++++++++++++++++
 .../spark/sql/errors/QueryExecutionErrors.scala    | 24 ++++++---
 .../org/apache/spark/sql/types/numerics.scala      | 18 +++----
 .../ansi/decimalArithmeticOperations.sql.out       |  8 +--
 .../sql-tests/results/ansi/interval.sql.out        | 18 +++----
 .../resources/sql-tests/results/interval.sql.out   | 18 +++----
 .../sql-tests/results/postgreSQL/case.sql.out      |  6 +--
 .../sql-tests/results/postgreSQL/float4.sql.out    |  6 +--
 .../sql-tests/results/postgreSQL/float8.sql.out    |  2 +-
 .../sql-tests/results/postgreSQL/int4.sql.out      | 12 ++---
 .../sql-tests/results/postgreSQL/int8.sql.out      | 22 ++++----
 .../results/postgreSQL/select_having.sql.out       |  2 +-
 .../results/postgreSQL/window_part2.sql.out        |  4 +-
 .../results/udf/postgreSQL/udf-case.sql.out        |  6 +--
 .../udf/postgreSQL/udf-select_having.sql.out       |  2 +-
 19 files changed, 177 insertions(+), 104 deletions(-)
 create mode 100644 sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/MathUtils.scala

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org