Yulei-Yang commented on code in PR #19242: URL: https://github.com/apache/doris/pull/19242#discussion_r1186594424
########## fe/fe-core/src/main/java/org/apache/doris/analysis/ShowPartitionsStmt.java: ########## @@ -137,8 +151,14 @@ public void analyze(Analyzer analyzer) throws UserException { public void analyzeImpl(Analyzer analyzer) throws UserException { super.analyze(analyzer); tableName.analyze(analyzer); - // disallow external catalog - Util.prohibitExternalCatalog(tableName.getCtl(), this.getClass().getSimpleName()); + // disallow unsupported catalog + String catalogName = tableName.getCtl(); + catalog = Env.getCurrentEnv().getCatalogMgr().getCatalog(catalogName); Review Comment: fixed -- 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