cfmcgrady commented on code in PR #6540: URL: https://github.com/apache/kyuubi/pull/6540#discussion_r1680916046
########## kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionImpl.scala: ########## @@ -317,7 +317,8 @@ class KyuubiSessionImpl( } def checkEngineConnectionAlive(): Boolean = { - if (Option(client).exists(_.engineConnectionClosed)) return false + if (client == null) return true // client has not been initialized Review Comment: I'm unclear on the intention of this expression compared to its previous version. when client is null, `Option(client).exists(_.engineConnectionClosed)` should be false? -- 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