sohardforaname commented on code in PR #13659:
URL: https://github.com/apache/doris/pull/13659#discussion_r1033637499
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/StatementContext.java:
##########
@@ -40,12 +43,12 @@ public class StatementContext {
private StatementBase parsedStatement;
public StatementContext() {
- this.connectContext = ConnectContext.get();
+ setConnectContext(ConnectContext.get());
}
public StatementContext(ConnectContext connectContext, OriginStatement
originStatement) {
- this.connectContext = connectContext;
- this.originStatement = originStatement;
+ setConnectContext(connectContext);
+ setOriginStatement(originStatement);
Review Comment:
It's just for adding channel to statementContext, I will remove it if
useless.
--
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]