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

weiting-chen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 205ca389bb [GLUTEN-13175][VL] Add a Gluten version of the Spark 4.2 
UPDATE NOT NULL test in GlutenDeltaBasedUpdateTableSuite (#13315)
205ca389bb is described below

commit 205ca389bb2845413dbc5187a5ba9bb296e6ba26
Author: Akshay Tayal <[email protected]>
AuthorDate: Sat Oct 24 01:20:16 2026 -0700

    [GLUTEN-13175][VL] Add a Gluten version of the Spark 4.2 UPDATE NOT NULL 
test in GlutenDeltaBasedUpdateTableSuite (#13315)
    
    Keep "update with constraint violation and transactional checks" excluded 
in GlutenDeltaBasedUpdateTableSuite
    (Velox assert_not_null throws a VeloxUserError instead of 
SparkRuntimeException) and add
    a Gluten version in GlutenUpdateTableSuiteBase that keeps the transaction 
checks.
    
    Co-authored-by: Akshay Tayal <[email protected]>
    Co-authored-by: Copilot <[email protected]>
    Copilot-Session: 3a1d1e30-b32c-45b1-9f0e-d7aa4654eab9
---
 .../scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala     | 6 +++---
 .../spark/sql/connector/GlutenDeltaBasedUpdateTableSuite.scala      | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/gluten-ut/spark42/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala
 
b/gluten-ut/spark42/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala
index cc1090d5ec..95c365e157 100644
--- 
a/gluten-ut/spark42/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala
+++ 
b/gluten-ut/spark42/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala
@@ -1363,9 +1363,9 @@ class VeloxTestSettings extends BackendTestSettings {
   enableSuite[GlutenDeltaBasedUpdateTableSuite]
     // Velox assert_not_null throws VeloxUserError instead of 
SparkRuntimeException
     .exclude("update with NOT NULL checks")
-    .exclude(
-      "update with constraint violation and transactional checks"
-    ) // GLUTEN-12569 Spark 4.2 UT enablement (CI-confirmed)
+    // Velox assert_not_null throws VeloxUserError instead of 
SparkRuntimeException.
+    // Rewritten in GlutenUpdateTableSuiteBase.
+    .exclude("update with constraint violation and transactional checks")
   enableSuite[GlutenGroupBasedMergeIntoTableSuite]
     // Replaced by Gluten versions that handle wrapped exceptions
     .excludeByPrefix("merge cardinality check with")
diff --git 
a/gluten-ut/spark42/src/test/scala/org/apache/spark/sql/connector/GlutenDeltaBasedUpdateTableSuite.scala
 
b/gluten-ut/spark42/src/test/scala/org/apache/spark/sql/connector/GlutenDeltaBasedUpdateTableSuite.scala
index b173c743a9..28a5b98859 100644
--- 
a/gluten-ut/spark42/src/test/scala/org/apache/spark/sql/connector/GlutenDeltaBasedUpdateTableSuite.scala
+++ 
b/gluten-ut/spark42/src/test/scala/org/apache/spark/sql/connector/GlutenDeltaBasedUpdateTableSuite.scala
@@ -20,4 +20,5 @@ import org.apache.spark.sql.GlutenSQLTestsBaseTrait
 
 class GlutenDeltaBasedUpdateTableSuite
   extends DeltaBasedUpdateTableSuite
-  with GlutenSQLTestsBaseTrait {}
+  with GlutenSQLTestsBaseTrait
+  with GlutenUpdateTableSuiteBase {}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to