flyrain commented on code in PR #5327:
URL: https://github.com/apache/iceberg/pull/5327#discussion_r929425175


##########
api/src/main/java/org/apache/iceberg/catalog/Catalog.java:
##########
@@ -356,10 +356,11 @@ default void invalidateTable(TableIdentifier identifier) {
    *
    * @param identifier a table identifier
    * @param metadataFileLocation the location of a metadata file
+   * @param force default is false. If true, do register table even if table 
exists otherwise it will throw error.
    * @return a Table instance
    * @throws AlreadyExistsException if the table already exists in the catalog.
    */
-  default Table registerTable(TableIdentifier identifier, String 
metadataFileLocation) {
+  default Table registerTable(TableIdentifier identifier, String 
metadataFileLocation, boolean force) {

Review Comment:
   The same concern here.



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