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 2022/08/15 17:15:21 UTC

[GitHub] [iceberg] kbendick commented on issue #5512: Accessing Iceberg tables without catalog

kbendick commented on issue #5512:
URL: https://github.com/apache/iceberg/issues/5512#issuecomment-1215415917

   If I understand correctly, you have lost your catalog data (e.g. the data in HMS or in your dynamodb table). Is that correct?
   
   There's a [`RegisterTableProcedure`](https://github.com/apache/iceberg/blob/master/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/procedures/RegisterTableProcedure.java) that can be used to register an existing table into a catalog.
   
   I'm not sure if the procedure is available in Iceberg 0.14.0, though you might be able to use the action directly from spark code (see the associated unit tests for the "action", which actually comes from `BaseMetastoreCatalog`). But you could otherwise try running one of the import procedures.
   
   I think that's what you're looking for.
   
   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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