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


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java:
##########
@@ -661,6 +673,18 @@ public boolean dropTemporaryView(String path) {
         }
     }
 
+    @Override
+    public boolean dropView(String path) {
+        UnresolvedIdentifier unresolvedIdentifier = 
getParser().parseIdentifier(path);
+        ObjectIdentifier identifier = 
catalogManager.qualifyIdentifier(unresolvedIdentifier);
+        try {
+            catalogManager.dropView(identifier, false);
+            return true;
+        } catch (ValidationException e) {
+            return false;

Review Comment:
   >I guess the before the fix, this exception would have bubbled up the table 
API.
   
   can you elaborate what you mean by this? Before the PR this method wasn't 
exists so it could not bub up



-- 
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]

Reply via email to