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: [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]