Skip to content

Commit

Permalink
do not trigger job
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Nov 1, 2024
1 parent d3520dd commit a3fcbbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
} finally {
spark.sparkContext.clearJobGroup()
}
Expand Down

0 comments on commit a3fcbbc

Please sign in to comment.