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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]