ajantha-bhat commented on code in PR #14870:
URL: https://github.com/apache/iceberg/pull/14870#discussion_r2701147700


##########
core/src/test/java/org/apache/iceberg/view/ViewCatalogTests.java:
##########
@@ -2039,9 +2034,6 @@ public void registerView() {
     assertThat(catalog.dropView(identifier)).isTrue();
     assertThat(catalog.viewExists(identifier)).as("View must not 
exist").isFalse();
 
-    // view metadata should still exist after dropping the view as gc is 
disabled

Review Comment:
   For the REST catalog, it won't be `BaseViewOperations`, it is 
`RESTViewOperations` and doesn't expose `fileIO`. So, removed the check.  
   
   While Registering the view, if the file doesn't exist, It will throw the 
exception anyways and testcase will fail in that case. Now it is passing. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to