weizhengte commented on code in PR #8861: URL: https://github.com/apache/doris/pull/8861#discussion_r918914300
########## fe/fe-core/src/main/java/org/apache/doris/analysis/AnalyzeStmt.java: ########## @@ -202,17 +236,22 @@ public void analyze(Analyzer analyzer) throws UserException { checkAnalyzePriv(dbName, table.getName()); } - this.dbId = db.getId(); + dbId = db.getId(); for (Table table : tables) { long tblId = table.getId(); - this.tblIds.add(tblId); + tblIds.add(tblId); } } finally { db.readUnlock(); } } - // step2: analyze properties + // step2: check partition + if (partitionNames != null) { + partitionNames.analyze(analyzer); Review Comment: sure -- 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