From 112c7c61db86f9a7383b0667af846ac02b1703c7 Mon Sep 17 00:00:00 2001 From: Trent Hauck Date: Fri, 3 May 2024 12:37:13 -0700 Subject: [PATCH] refactor: rename majorSource to majorVerSrc, same with minor --- common/pom.xml | 4 ++-- pom.xml | 10 +++++----- spark/pom.xml | 4 ++-- .../org/apache/comet/CometExpressionSuite.scala | 14 +++++--------- 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/common/pom.xml b/common/pom.xml index ac9d136b3..cc1f44481 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -179,8 +179,8 @@ under the License. - src/main/${shims.majorSource} - src/main/${shims.minorSource} + src/main/${shims.majorVerSrc} + src/main/${shims.minorVerSrc} diff --git a/pom.xml b/pom.xml index 5e0454589..3ffdda97a 100644 --- a/pom.xml +++ b/pom.xml @@ -88,8 +88,8 @@ under the License. -ea -Xmx4g -Xss4m ${extraJavaTestArgs} spark-3.3-plus spark-3.4 - spark-3.x - spark-3.4 + spark-3.x + spark-3.4 @@ -501,7 +501,7 @@ under the License. not-needed-yet not-needed-yet - spark-3.2 + spark-3.2 @@ -514,7 +514,7 @@ under the License. 1.12.0 spark-3.3-plus not-needed-yet - spark-3.3 + spark-3.3 @@ -526,7 +526,7 @@ under the License. 1.13.1 spark-3.3-plus spark-3.4 - spark-3.4 + spark-3.4 diff --git a/spark/pom.xml b/spark/pom.xml index 8c900451a..f8fe68221 100644 --- a/spark/pom.xml +++ b/spark/pom.xml @@ -258,8 +258,8 @@ under the License. - src/main/${shims.majorSource} - src/main/${shims.minorSource} + src/main/${shims.majorVerSrc} + src/main/${shims.minorVerSrc} diff --git a/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala b/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala index b59dd7324..62e26247c 100644 --- a/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala @@ -1026,15 +1026,11 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper { } test("unhex") { - Seq(false, true).foreach { dictionary => - withSQLConf("parquet.enable.dictionary" -> dictionary.toString) { - val table = "test" - withTable(table) { - sql(s"create table $table(col string) using parquet") - sql(s"insert into $table values('537061726B2053514C')") - checkSparkAnswerAndOperator(s"SELECT unhex(col) FROM $table") - } - } + val table = "test" + withTable(table) { + sql(s"create table $table(col string) using parquet") + sql(s"insert into $table values('537061726B2053514C')") + checkSparkAnswerAndOperator(s"SELECT unhex(col) FROM $table") } }