tanmayrauth commented on issue #833: URL: https://github.com/apache/iceberg-go/issues/833#issuecomment-4348117921
@zeroshade @laskoviymishka I have a draft implementation for this. The write path now resolves the table's default sort order and sorts each record batch before writing, respecting field priority, asc/desc direction, null ordering, and transforms. It uses compute.Take with a stable permutation index to reorder batches, same pattern already used for positional deletes and partition fanout. All write paths are covered (Append, Overwrite, Delete, WriteRecords, and compaction). Current limitation is per-batch sorting rather than global per-file sort, which matches PyIceberg's approach. Happy to open a PR. -- 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]
