Yulei-Yang commented on code in PR #40680: URL: https://github.com/apache/doris/pull/40680#discussion_r1971210290
########## fe/fe-core/src/main/java/org/apache/doris/alter/Alter.java: ########## @@ -127,7 +127,7 @@ public void processCreateMaterializedView(CreateMaterializedViewStmt stmt) Database db = Env.getCurrentInternalCatalog().getDbOrDdlException(dbName); Env.getCurrentInternalCatalog().checkAvailableCapacity(db); - OlapTable olapTable = (OlapTable) db.getTableOrMetaException(tableName, TableType.OLAP); + OlapTable olapTable = (OlapTable) db.getNonTempTableOrMetaException(tableName, TableType.OLAP); Review Comment: will implement it in pr later -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org