morrySnow commented on code in PR #64366:
URL: https://github.com/apache/doris/pull/64366#discussion_r3397048913


##########
fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVCache.java:
##########
@@ -105,7 +105,7 @@ public static MTMVCache from(String defSql,
             ConnectContext currentContext,
             boolean addSessionVarGuard) throws AnalysisException {
         StatementContext mvSqlStatementContext = new 
StatementContext(createCacheContext,
-                new OriginStatement(defSql, 0));
+                new OriginStatement(defSql, 0), 
currentContext.getStatementContext().getStatementStartTime());

Review Comment:
   有now,如果不显式的打开非确定性函数开关,就不能创建吧。另外,这里可能cache上不能常量折叠?



-- 
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]

Reply via email to