starocean999 commented on code in PR #66788:
URL: https://github.com/apache/doris/pull/66788#discussion_r3794455769
##########
fe/fe-core/src/main/java/org/apache/doris/qe/AutoCloseSessionVariable.java:
##########
@@ -46,7 +46,7 @@ public AutoCloseSessionVariable(ConnectContext
connectContext, Map<String, Strin
previousVariable = connectContext.getSessionVariable();
}
SessionVariable sessionVariable = new SessionVariable();
-
sessionVariable.setAffectQueryResultInPlanSessionVariables(affectQueryResultVariables);
+ sessionVariable.setForwardedSessionVariables(sessionVariables);
Review Comment:
keep AutoCloseSessionVariable unchanged, this class is used for
affectQueryResultVariables. You'd better create a new class for your scenario.
--
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]