anuragmantri commented on a change in pull request #3851:
URL: https://github.com/apache/iceberg/pull/3851#discussion_r783309928



##########
File path: hive-metastore/src/main/java/org/apache/iceberg/hive/HiveCatalog.java
##########
@@ -211,6 +214,23 @@ public void renameTable(TableIdentifier from, 
TableIdentifier originalTo) {
     }
   }
 
+  @Override
+  public org.apache.iceberg.Table registerTable(TableIdentifier identifier, 
String metadataFileLocation) {

Review comment:
       This is a good point. Potentially, other catalogs can benefit from this. 
However, `FileIO` is initialized with the catalog and there maybe custom 
implementations passed as catalog properties. I'm not sure yet on how to move 
this logic to `BaseMetastoreCatalog`. Do you mind if I do that as a seperate 
enhancement PR to this one? 




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