nastra commented on code in PR #14868:
URL: https://github.com/apache/iceberg/pull/14868#discussion_r2676104703
##########
api/src/main/java/org/apache/iceberg/catalog/ViewCatalog.java:
##########
@@ -106,6 +106,18 @@ default boolean viewExists(TableIdentifier identifier) {
*/
default void invalidateView(TableIdentifier identifier) {}
+ /**
+ * Register a view with the catalog if it does not exist.
+ *
+ * @param identifier a view identifier
+ * @param metadataFileLocation the location of a metadata file
+ * @return a View instance
+ * @throws AlreadyExistsException if the view already exists in the catalog.
Review Comment:
```suggestion
* @throws AlreadyExistsException if a table/view with the same identifier
already exists in the catalog.
```
--
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]