weizhengte commented on code in PR #8861:
URL: https://github.com/apache/doris/pull/8861#discussion_r918915222
##########
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:
Yes, temporary partitions have been prohibited
--
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]