JingGe commented on code in PR #23945:
URL: https://github.com/apache/flink/pull/23945#discussion_r1430023059
##########
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/HiveCatalog.java:
##########
@@ -310,6 +313,10 @@ public void open() throws CatalogException {
"Configured default database %s doesn't exist in
catalog %s.",
getDefaultDatabase(), getName()));
}
+
+ if (cacheTable == null) {
Review Comment:
Would you please help me understand why lazy init is required in this case?
Afaik, without calling the open() the catalog can not be used.
--
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]