rdblue commented on issue #253: Register existing tables in Iceberg HiveCatalog URL: https://github.com/apache/incubator-iceberg/pull/253#issuecomment-511498862 > I also thought about registering tables by giving a pointer to the metadata location and not a specific metadata file. That isn't quite what I'm suggesting. I'm suggesting that to do the same thing that `registerTable` does, you create a table and then set its metadata location directly. I've been doing this to troubleshoot by creating a new table, then copying another table's metadata file over its current metadata location. Having a way to simply replace that metadata location of a table would support the use case you have here, but would also allow rolling back to a previous metadata file for the same table. I think the UUID would be fine. You'd just have to reload the table from the `Catalog` instead of calling `refresh` because `refresh` would detect the UUID change and throw an exception.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
