You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ge...@apache.org on 2025/05/08 06:06:28 UTC
(spark) branch master updated (604bb34b26dc -> f64f2d6d7084)
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 604bb34b26dc [SPARK-52034][SQL] Add common methods in SparkOperation trait for thriftserver operations
add f64f2d6d7084 [SPARK-51902][SQL] Enforce check constraint on table insertion
No new revisions were added by this update.
Summary of changes:
.../src/main/resources/error/error-conditions.json | 8 +
.../spark/sql/catalyst/analysis/Analyzer.scala | 1 +
.../analysis/ResolveTableConstraints.scala | 84 ++++++++++
.../sql/catalyst/expressions/constraints.scala | 110 +++++++++++++-
.../sql/catalyst/rules/RuleIdCollection.scala | 1 +
.../spark/sql/errors/QueryExecutionErrors.scala | 33 ++++
.../expressions/ConstraintExpressionSuite.scala | 45 ++++++
.../command/v2/CheckConstraintSuite.scala | 169 ++++++++++++++++++++-
8 files changed, 448 insertions(+), 3 deletions(-)
create mode 100644 sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveTableConstraints.scala
create mode 100644 sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ConstraintExpressionSuite.scala
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org