rdblue commented on a change in pull request #675: Inherit snapshot ids for 
manifest entries
URL: https://github.com/apache/incubator-iceberg/pull/675#discussion_r373279947
 
 

 ##########
 File path: core/src/main/java/org/apache/iceberg/ManifestReader.java
 ##########
 @@ -217,7 +257,7 @@ private void cacheChanges() {
 
         addCloseable(reader);
 
-        return reader;
+        return inheritableMetadata != null ? 
CloseableIterable.transform(reader, inheritableMetadata::apply) : reader;
 
 Review comment:
   Nit: I don't think `inheritableMetadata` is ever null now, so we can remove 
this check and just return the transform.

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