aokolnychyi commented on issue #253: Register existing tables in Iceberg 
HiveCatalog
URL: https://github.com/apache/incubator-iceberg/pull/253#issuecomment-518003731
 
 
   @rdblue You are right, we can fetch `TableOperations` via `BaseTable`. 
Create/replace table transactions will solve the second issue as well.
   
   Then table state can be rolled back using these lines:
   ```
   TableOperations ops = ((BaseTable) table).operations();
   ops.commit(ops.current(), TableMetadataParser.read(ops, metadataFile));
   ```
   
   Having said that, I think we can close this PR. What do you think?
   
   

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