waterlx commented on issue #806: Fix NPE when calling locationProvider() in 
HadoopTableOperations with no current metadata
URL: https://github.com/apache/incubator-iceberg/pull/806#issuecomment-586817030
 
 
   The fix is a little weird to me as it is not fixed in HadoopTableOperations 
directly, but in BaseTransaction.TransactionTable, the caller of 
HadoopTableOperations#locationProvider(), because I could not find properties 
in HadoopTableOperations to pass to LocationProviders.locationFor() when 
current() returns null(no metadata at all).
   Please kindly let me know if there is a better way to do that.

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