wangbo commented on code in PR #50783:
URL: https://github.com/apache/doris/pull/50783#discussion_r2094744013


##########
fe/fe-core/src/main/java/org/apache/doris/cloud/load/CloudBrokerLoadJob.java:
##########
@@ -130,12 +125,16 @@ private AutoCloseConnectContext buildConnectContext() 
throws UserException {
         if (ConnectContext.get() == null) {
             ConnectContext connectContext = new ConnectContext();
             connectContext.setCloudCluster(clusterName);
+            connectContext.setCurrentUserIdentity(this.userInfo);
+            connectContext.setQualifiedUser(this.userInfo.getQualifiedUser());
             if (connectContext.getEnv() == null) {
                 connectContext.setEnv(Env.getCurrentEnv());
             }
             return new AutoCloseConnectContext(connectContext);
         } else {
             ConnectContext.get().setCloudCluster(clusterName);
+            ConnectContext.get().setCurrentUserIdentity(this.userInfo);
+            
ConnectContext.get().setQualifiedUser(this.userInfo.getQualifiedUser());

Review Comment:
   不是,是单独存的一个



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to