bowenliang123 commented on code in PR #4144: URL: https://github.com/apache/kyuubi/pull/4144#discussion_r1080940553
########## kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiBatchSessionImpl.scala: ########## @@ -83,8 +83,9 @@ class KyuubiBatchSessionImpl( /** * whether the resource file is from uploading */ - lazy val isResourceUploaded: Boolean = - conf.getOrElse(KyuubiReservedKeys.KYUUBI_SESSION_BATCH_RESOURCE_UPLOADED_KEY, "false").toBoolean + lazy val isResourceUploaded: Boolean = batchRequest.getConf + .getOrDefault(KyuubiReservedKeys.KYUUBI_SESSION_BATCH_RESOURCE_UPLOADED_KEY, + "false").toBoolean Review Comment: Addressed. -- 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