This is an automated email from the ASF dual-hosted git repository.
singhpk234 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new b60b3c8c46 Spark 4.2: Enable DSv2 cache invalidation test for session
schema change (#18298)
b60b3c8c46 is described below
commit b60b3c8c46cc9720741e16f2d80ae9e62fdb3bdf
Author: Uros <[email protected]>
AuthorDate: Tue Sep 29 03:32:07 2026 +0200
Spark 4.2: Enable DSv2 cache invalidation test for session schema change
(#18298)
Spark 4.2: Enable cache invalidation test fixed by SPARK-55631
testCachedTableWithSessionSchemaChangeAndExternalWrite was disabled pending
SPARK-55631 (ALTER TABLE should invalidate cache), which is fixed in Spark
4.2.0. Enable it in the Spark 4.2 module.
Co-authored-by: Isaac <[email protected]>
---
.../org/apache/iceberg/spark/extensions/TestCachedTableRefresh.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/spark/v4.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestCachedTableRefresh.java
b/spark/v4.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestCachedTableRefresh.java
index fcdec0de08..41b4ba3bf8 100644
---
a/spark/v4.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestCachedTableRefresh.java
+++
b/spark/v4.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestCachedTableRefresh.java
@@ -34,7 +34,6 @@ import
org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap;
import org.apache.iceberg.spark.SparkCatalogConfig;
import org.apache.iceberg.types.Types;
import org.junit.jupiter.api.AfterEach;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.TestTemplate;
import org.junit.jupiter.api.extension.ExtendWith;
@@ -213,7 +212,6 @@ public class TestCachedTableRefresh extends
ExtensionsTestBase {
}
@TestTemplate
- @Disabled("https://issues.apache.org/jira/browse/SPARK-55631")
public void testCachedTableWithSessionSchemaChangeAndExternalWrite() throws
IOException {
// create table and insert initial data
sql("CREATE TABLE %s (id INT, salary INT) USING iceberg", tableName);