From 249738980b59445cf4b0e36cbaa03600592b53f9 Mon Sep 17 00:00:00 2001 From: "Wang, Fei" Date: Thu, 31 Oct 2024 18:06:08 -0700 Subject: [PATCH] fix ut --- .../org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala index 1013522092b..6f615e85449 100644 --- a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala +++ b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala @@ -35,7 +35,8 @@ trait WithSparkSQLEngine extends KyuubiFunSuite { // Behavior is affected by the initialization SQL: 'SHOW DATABASES' // SPARK-35378 (3.2.0) makes it triggers job // SPARK-43124 (4.0.0) makes it avoid triggering job - protected val initJobId: Int = if (SPARK_ENGINE_RUNTIME_VERSION >= "4.0") 0 else 1 + // [KYUUBI #6789] makes it avoid triggering job + protected val initJobId: Int = 0 override def beforeAll(): Unit = { startSparkEngine()