rominparekh commented on a change in pull request #117: Sorts bin packing by 
weights in descending order
URL: https://github.com/apache/incubator-iceberg/pull/117#discussion_r263949237
 
 

 ##########
 File path: core/src/main/java/com/netflix/iceberg/MergingSnapshotUpdate.java
 ##########
 @@ -436,7 +436,7 @@ private ManifestFile filterManifest(Expression 
deleteExpression,
     // use a lookback of 1 to avoid reordering the manifests. using 1 also 
means this should pack
     // from the end so that the manifest that gets under-filled is the first 
one, which will be
     // merged the next time.
-    ListPacker<ManifestFile> packer = new 
ListPacker<>(manifestTargetSizeBytes, 1);
+    ListPacker<ManifestFile> packer = new 
ListPacker<>(manifestTargetSizeBytes, 1, false);
 
 Review comment:
   Callout : disabled by the flag to pick expensive task first to mirror 
default value. Although tests pass, please advise if setting this `false` here 
is the right way to go? cc: @rdblue 

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