HonestManXin opened a new pull request, #68574: URL: https://github.com/apache/doris/pull/68574
During prepared statement execution, ExecuteCommand creates a new LogicalPlanAdapter and replaces the original parsedStmt in StmtExecutor. Because LogicalPlanAdapter does not initialize originStmt in its constructor, the new statement may have a null originStmt. If the query encounters a retryable exception, the retry log dereferences parsedStmt.getOrigStmt().originStmt, causing a NullPointerException that masks the original error and interrupts the retry process. -- 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]
