turboFei commented on code in PR #6789: URL: https://github.com/apache/kyuubi/pull/6789#discussion_r1825345628
########## externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/KyuubiSparkUtil.scala: ########## @@ -48,7 +48,7 @@ object KyuubiSparkUtil extends Logging { interruptOnCancel = true) debug(s"Execute initialization sql: $sql") try { - spark.sql(sql).isEmpty + spark.sql(sql).take(1).isEmpty Review Comment: Not sure whether it is easy to maintain this workaround in kyuubi end. -- 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