nastra commented on code in PR #15010:
URL: https://github.com/apache/iceberg/pull/15010#discussion_r2685998435


##########
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveCatalog.java:
##########
@@ -911,4 +911,37 @@ public View create() {
       return super.create();
     }
   }
+
+  /**
+   * Register a table with the catalog if it does not exist. This is 
overridden in order to add view
+   * existence detection before registering a table.
+   *
+   * @param identifier a table identifier
+   * @param metadataFileLocation the location of a metadata file
+   * @return a Table instance
+   * @throws org.apache.iceberg.exceptions.AlreadyExistsException if a table 
or view with the same

Review Comment:
   yes good idea, I've done that



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