This is an automated email from the ASF dual-hosted git repository. gengliang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
from 1a738e74061 [SPARK-40056][BUILD] Upgrade mvn-scalafmt from 1.0.4 to 1.1.1640084764.9f463a9 add f8d51b9940b [SPARK-40054][SQL] Restore the error handling syntax of try_cast() No new revisions were added by this update. Summary of changes: .../spark/sql/catalyst/expressions/Cast.scala | 141 ++++++++++++++++++--- .../spark/sql/catalyst/expressions/EvalMode.scala} | 29 +++-- .../spark/sql/catalyst/expressions/TryEval.scala | 86 +------------ .../spark/sql/catalyst/parser/AstBuilder.scala | 6 +- .../sql/catalyst/expressions/CastSuiteBase.scala | 64 +++++----- .../expressions/CastWithAnsiOffSuite.scala | 2 +- .../catalyst/expressions/CastWithAnsiOnSuite.scala | 103 ++++++++++----- .../sql/catalyst/expressions/TryCastSuite.scala | 47 +++++-- .../catalyst/optimizer/ConstantFoldingSuite.scala | 3 +- .../sql/catalyst/util/V2ExpressionBuilder.scala | 4 +- .../spark/sql/execution/stat/StatFunctions.scala | 4 +- .../execution/command/PlanResolutionSuite.scala | 17 ++- 12 files changed, 302 insertions(+), 204 deletions(-) copy sql/catalyst/src/{test/scala/org/apache/spark/sql/catalyst/expressions/NondeterministicSuite.scala => main/scala/org/apache/spark/sql/catalyst/expressions/EvalMode.scala} (57%) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org