You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/07/15 07:21:10 UTC

[GitHub] [incubator-iceberg] aokolnychyi commented on issue #253: Register existing tables in Iceberg HiveCatalog

aokolnychyi commented on issue #253: Register existing tables in Iceberg HiveCatalog
URL: https://github.com/apache/incubator-iceberg/pull/253#issuecomment-511297677
 
 
   I also thought about registering tables by giving a pointer to the metadata location and not a specific metadata file. However, my assumption was that a location can be shared by multiple Iceberg tables (which is possible because we have random UUIDs in metadata version file names). So, we need to somehow determine what is the last metadata file for a particular table if the location is shared (which can be done using Table UUID we added recently, but someone has to find that UUID anyway).
   
   As always, I am open to considering any alternatives. To avoid changes to the `Catalog` API, we can require users interested in this to interact with `HiveTableOperations` directly, meaning they have to create a separate pool of HMS clients and pass a Hadoop config. I am not sure that's a good idea, though.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org