RussellSpitzer commented on code in PR #12228:
URL: https://github.com/apache/iceberg/pull/12228#discussion_r2363217367


##########
api/src/main/java/org/apache/iceberg/catalog/SessionCatalog.java:
##########
@@ -168,7 +168,30 @@ public Object wrappedIdentity() {
    * @return a Table instance
    * @throws AlreadyExistsException if the table already exists in the catalog.
    */
-  Table registerTable(SessionContext context, TableIdentifier ident, String 
metadataFileLocation);
+  default Table registerTable(
+      SessionContext context, TableIdentifier ident, String 
metadataFileLocation) {
+    return registerTable(context, ident, metadataFileLocation, false);
+  }
+
+  /**
+   * Register a table with the catalog, optionally overwrite existing table 
metadata.
+   *
+   * <p><strong>Note:</strong> Overwriting an existing table may result in the 
change of table UUID,

Review Comment:
   ```suggestion
      * <p><strong>Note:</strong> Overwriting an existing table may result in a 
change of table UUID,
   ```



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