rdblue commented on code in PR #7913:
URL: https://github.com/apache/iceberg/pull/7913#discussion_r1375318196


##########
core/src/main/java/org/apache/iceberg/rest/CatalogHandlers.java:
##########
@@ -374,4 +386,128 @@ static TableMetadata commit(TableOperations ops, 
UpdateTableRequest request) {
 
     return ops.current();
   }
+
+  private static BaseView baseView(View view) {
+    Preconditions.checkArgument(view instanceof BaseView, "View must be a 
BaseView");

Review Comment:
   The Table methods use `IllegalStateException` with `Cannot wrap catalog that 
does not produce BaseTable`. Can you make the behavior similar?



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