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