github-actions[bot] commented on code in PR #66913:
URL: https://github.com/apache/doris/pull/66913#discussion_r4012800517
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ExecuteCommand.java:
##########
@@ -72,6 +72,10 @@ public <R, C> R accept(PlanVisitor<R, C> visitor, C context)
{
@Override
public void run(ConnectContext ctx, StmtExecutor executor) throws
Exception {
+ StatementContext statementContext = ctx.getStatementContext();
Review Comment:
[P1] Remove the duplicate statementContext declaration
This declaration remains in scope when line 90 declares another local named
statementContext in the same run() block. Java rejects the method with
"variable statementContext is already defined", so the FE cannot compile at
this head. Please remove or rename one declaration while preserving whichever
old-context cleanup is actually intended.
--
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]