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: [email protected]
For additional commands, e-mail: [email protected]