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/08/14 23:02:57 UTC

[GitHub] [incubator-iceberg] rdblue opened a new pull request #391: Fix create transaction metadata locations

rdblue opened a new pull request #391: Fix create transaction metadata locations
URL: https://github.com/apache/incubator-iceberg/pull/391
 
 
   When a create transaction creates table metadata, it calls the underlying table operations to construct a location for the new metadata file. For metastore tables, that call fails because the base metadata for that table operations is null.
   
   This adds a method to get a temporary `TableOperations` instance that uses uncommitted table metadata. Transactions create temporary ops instances from intermediate metadata to ensure that the behavior of methods like `metadataFileLocation` and `locationProvider` use current table metadata instead of the base metadata, which may be null.

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