zddr commented on code in PR #50895:
URL: https://github.com/apache/doris/pull/50895#discussion_r2225187911
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/MTMV.java:
##########
@@ -196,9 +196,10 @@ public void addTaskResult(MTMVTask task, MTMVRelation
relation,
// The replay thread may not have initialized the catalog yet
to avoid getting stuck due
// to connection issues such as S3, so it is directly set to
null
if (!isReplay) {
+ ConnectContext currentContext = ConnectContext.get();
Review Comment:
ConnectContext.get() is created by
org.apache.doris.mtmv.MTMVPlanUtil#createMTMVContext,are you sure use it?
--
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]