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

jmalkin pushed a commit to branch test_improvements
in repository https://gitbox.apache.org/repos/asf/datasketches-spark.git


The following commit(s) were added to refs/heads/test_improvements by this push:
     new 5a015cd  use correct name for codegen_only
5a015cd is described below

commit 5a015cde69cbb98a3ec1b256794f63832ce3c1d7
Author: Jon <jmalkin.nore...@apache.org>
AuthorDate: Sat Mar 8 11:05:36 2025 -0800

    use correct name for codegen_only
---
 .github/workflows/ci.yaml                                               | 2 +-
 .../scala/org/apache/spark/sql/datasketches/SparkSessionManager.scala   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 0f9e367..dfc6658 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -69,4 +69,4 @@ jobs:
 
       - name: Build and test codegen path
         run: >
-          CODEGEN_FACTORYMODE=ONLY_CODEGEN sbt ++$SCALA_VERSION --batch clean 
test
+          CODEGEN_FACTORYMODE=CODEGEN_ONLY sbt ++$SCALA_VERSION --batch clean 
test
diff --git 
a/src/test/scala/org/apache/spark/sql/datasketches/SparkSessionManager.scala 
b/src/test/scala/org/apache/spark/sql/datasketches/SparkSessionManager.scala
index 6ea1151..ab9e7ca 100644
--- a/src/test/scala/org/apache/spark/sql/datasketches/SparkSessionManager.scala
+++ b/src/test/scala/org/apache/spark/sql/datasketches/SparkSessionManager.scala
@@ -46,7 +46,7 @@ trait SparkSessionManager extends AnyFunSuite with 
BeforeAndAfterAll {
       .config("spark.sql.codegen.factoryMode", codegenState)
 
     // additional flags used for codegen state
-    if ("ONLY_CODEGEN".equals(codegenState)) {
+    if ("CODEGEN_ONLY".equals(codegenState)) {
       builder
         .config("spark.sql.codegen.wholeStage", "true")
         .config("spark.sql.codegen.fallback", "false")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@datasketches.apache.org
For additional commands, e-mail: commits-h...@datasketches.apache.org

Reply via email to