hcrosse commented on code in PR #2818:
URL: https://github.com/apache/iceberg-go/pull/2818#discussion_r4805457040


##########
table/binpack_compaction.go:
##########
@@ -19,8 +19,9 @@ package table
 
 import "fmt"
 
-// Bin-pack streams rows in input order. Sort strategies can accept a mixed
-// group because they split records by the output partition before writing.
+// Bin-pack streams rows directly without regrouping by output partition.
+// Sort strategies can accept a mixed group because they split records by
+// the output partition before writing.

Review Comment:
   That comment explains why this check rejects mixed-partition groups rather 
than describing batch ordering. Bin-pack streams rows directly to the writer 
instead of regrouping by partition as sort strategies do, while unordered 
streaming is documented on `binPackStrategy` in `table/rewrite_data_files.go`.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to