Jibing-Li commented on code in PR #9752: URL: https://github.com/apache/incubator-doris/pull/9752#discussion_r882739754
########## fe/fe-core/src/main/java/org/apache/doris/analysis/Analyzer.java: ########## @@ -626,6 +628,11 @@ public TableRef resolveTableRef(TableRef tableRef) throws AnalysisException { } } + if (table.getType() == TableType.HUDI && table.getFullSchema().isEmpty()) { + // resolve hudi table's schema when table schema is empty from doris meta Review Comment: For case 2, the schema will be cached in HudiTable after the first time calling resolveHudiTable, but I didn't see the code to update the schema. So I feel when the schema in HMS changed, we are still using the old cached schema in the Doris Catalog. Correct me if I missed some details. -- 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