snuyanzin commented on code in PR #25810:
URL: https://github.com/apache/flink/pull/25810#discussion_r1891596166


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java:
##########
@@ -1030,6 +1030,17 @@ void createTemporarySystemFunction(
      */
     boolean dropTemporaryTable(String path);
 
+    /**
+     * Drops a table registered in the given path.

Review Comment:
   No, it is incorrect
   the reason is that there is an extra filter in 
`CatalogManager#dropTableInternal` which checks the type from objectIdentifier
   
https://github.com/apache/flink/blob/9e38f32889e097f5a9b81f949643a2b037c1035c/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/CatalogManager.java#L1310-L1317



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to