PatrickRen commented on code in PR #23041:
URL: https://github.com/apache/flink/pull/23041#discussion_r1270896040
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/CatalogManager.java:
##########
@@ -806,6 +810,19 @@ public void createTable(
ignoreIfExists);
catalog.createTable(path, resolvedListenedTable,
ignoreIfExists);
+ if (table instanceof CatalogTable) {
Review Comment:
Is there any specific reason to check the type of `table` here? The logic
below directly uses `resolvedTable` to create a `CreateTableEvent`, so I'm
wondering if it's necessary to have the check here.
--
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]