morningman opened a new pull request, #67556: URL: https://github.com/apache/doris/pull/67556
Cherry-picked from #67381 ### Backport notes One conflict, in `SessionVariable`: branch-4.1 still declares session variables with `@VariableMgr.VarAttr` rather than `@VarAttrDef.VarAttr`, so `RETURN_OBJECT_DATA_AS_BINARY` keeps that annotation here. The `affectQueryResultInExecution` attribute exists on this branch's annotation and `NereidsSqlCacheManager.usedVariablesChanged` compares the same `SqlCacheContext.computeAffectQueryResultVariables()` string, so the behaviour is identical. `ConnectProcessor`, `StmtExecutor` and both regression suites applied cleanly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DzUYFcGHQH3bnLGCjpncVj -- 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]
