turboFei commented on code in PR #6789: URL: https://github.com/apache/kyuubi/pull/6789#discussion_r1825326380
########## externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala: ########## @@ -35,7 +35,9 @@ 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 = if (SPARK_ENGINE_RUNTIME_VERSION >= "4.0") 0 else 1 + protected val initJobId: Int = 0 Review Comment: And for notebook connections, we will init the spark driver in a temporary queue, and then move it to the final user queue, so it should be fast to make the connection ready even the user queue has no available resources. But if job triggered during initialization, it will make it slow if the user queue has no available resources. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org