turboFei commented on code in PR #4144:
URL: https://github.com/apache/kyuubi/pull/4144#discussion_r1080878465


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiBatchSessionImpl.scala:
##########
@@ -43,6 +43,7 @@ class KyuubiBatchSessionImpl(
     override val sessionManager: KyuubiSessionManager,
     val sessionConf: KyuubiConf,
     batchRequest: BatchRequest,
+    val isResourceFromUpload: Boolean,

Review Comment:
   private[kyuubi] val isResourceFromUpload = 
batchRequest.getConf.asScala.get(KyuubiReservedKeys.....).map(_.toBoolean).getOrElse(false)



##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala:
##########
@@ -183,7 +222,8 @@ private[v1] class BatchesResource extends ApiRequestContext 
with Logging {
       "anonymous",
       ipAddress,
       request.getConf.asScala.toMap,
-      request)
+      request,
+      isResourceFromUpload)

Review Comment:
   see KyuubiReservedKeys



-- 
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

Reply via email to