hehuiyuan commented on code in PR #23945:
URL: https://github.com/apache/flink/pull/23945#discussion_r1432229793
##########
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:
Hi , this has no special design and we can directly use cache without going
through open method.
Just like `client`, open method initialization and close method cleaning
--
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]