Skip to content

Commit

Permalink
[MINOR] Fix confusing variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget committed Mar 11, 2024
1 parent 9fd392b commit 83ed8d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ class FlinkSQLSessionManager(engineContext: DefaultContext)

override def closeSession(sessionHandle: SessionHandle): Unit = {
try {
val fSession = super.getSessionOption(sessionHandle)
fSession.foreach(s =>
val session = super.getSessionOption(sessionHandle)
session.foreach(s =>
sessionManager.closeSession(s.asInstanceOf[FlinkSessionImpl].fSession.getSessionHandle))
super.closeSession(sessionHandle)
} catch {
Expand Down

0 comments on commit 83ed8d2

Please sign in to comment.