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


With regards,
Apache Git Services

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

Reply via email to