zddr commented on code in PR #53107:
URL: https://github.com/apache/doris/pull/53107#discussion_r2230085663


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/StatementContext.java:
##########
@@ -271,7 +271,7 @@ public StatementContext(ConnectContext connectContext, 
OriginStatement originSta
         this.originStatement = originStatement;
         exprIdGenerator = ExprId.createGenerator(initialId);
         if (connectContext != null && connectContext.getSessionVariable() != 
null
-                && connectContext.queryId() != null
+                //&& connectContext.queryId() != null

Review Comment:
   The queryId retrieved here is always null—the current query's queryId is set 
in subsequent steps, while what was obtained earlier actually belonged to the 
previous query.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to