RocMarshal commented on a change in pull request #17352:
URL: https://github.com/apache/flink/pull/17352#discussion_r715700515
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java
##########
@@ -1176,6 +1178,31 @@ public TableResult executeInternal(Operation operation) {
.getTableIdentifier()
.asSerializableString()));
}
+ } else if (operation instanceof ShowCreateViewOperation) {
+ ShowCreateViewOperation showCreateViewOperation =
(ShowCreateViewOperation) operation;
+ Optional<CatalogManager.TableLookupResult> result =
+
catalogManager.getTable(showCreateViewOperation.getViewIdentifier());
+ if (result.isPresent()) {
Review comment:
OK. I'll update it.
--
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]