From 6ea5a427eab1e93a8fc10e7cf76a6b14ba2f0c18 Mon Sep 17 00:00:00 2001 From: KAZUYUKI TANIMURA Date: Fri, 31 May 2024 15:11:35 -0700 Subject: [PATCH] test: fix ClassNotFoundException for Hive tests (#499) ## Rationale for this change To fix `java.lang.ClassNotFoundException: org.apache.spark.CometSparkSessionExtensions` in Hive tests ## What changes are included in this PR? fixed diffs ## How are these changes tested? existing tests --- dev/diffs/3.4.2.diff | 2 +- dev/diffs/3.4.3.diff | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/diffs/3.4.2.diff b/dev/diffs/3.4.2.diff index 19bf6dd41..cd02970da 100644 --- a/dev/diffs/3.4.2.diff +++ b/dev/diffs/3.4.2.diff @@ -2526,7 +2526,7 @@ index 07361cfdce9..25b0dc3ef7e 100644 + val v = System.getenv("ENABLE_COMET") + if (v != null && v.toBoolean) { + conf -+ .set("spark.sql.extensions", "org.apache.spark.CometSparkSessionExtensions") ++ .set("spark.sql.extensions", "org.apache.comet.CometSparkSessionExtensions") + .set("spark.comet.enabled", "true") + + val v = System.getenv("ENABLE_COMET_SCAN_ONLY") diff --git a/dev/diffs/3.4.3.diff b/dev/diffs/3.4.3.diff index ae46e916b..c6d10c2ec 100644 --- a/dev/diffs/3.4.3.diff +++ b/dev/diffs/3.4.3.diff @@ -2535,7 +2535,7 @@ index 07361cfdce9..25b0dc3ef7e 100644 + val v = System.getenv("ENABLE_COMET") + if (v != null && v.toBoolean) { + conf -+ .set("spark.sql.extensions", "org.apache.spark.CometSparkSessionExtensions") ++ .set("spark.sql.extensions", "org.apache.comet.CometSparkSessionExtensions") + .set("spark.comet.enabled", "true") + + val v = System.getenv("ENABLE_COMET_SCAN_ONLY")