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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to