sgg opened a new issue, #2661: URL: https://github.com/apache/iceberg-go/issues/2661
### Feature Request / Improvement iceberg-go does not currently support writing to tables that use nested struct fields as sort keys. Today we return an [error](https://github.com/apache/iceberg-go/blob/58032668d6f24e2a6a1b156079af827a9ff38561/table/sort_compaction.go#L111) when planning a write to such a table. Given that this is supported in the Java, C++, and Python implementations it seams reasonable to add support here (bias up front, I also want this feature 🙃). I believe the "right" way to add support here is to extend arrow-go to support nested sort columns and I've started chasing that down (see apache/arrow-go#1337). That said, it's unclear when that will land as it may require a backwards incompatible change in that library. I've put together #2666 as a stop gap. It adds compatibility for sort keys on nested fields by leveraging the pre-existing row comparator from sort compaction (#2345). The goal would be to remove this once we have the features we need in arrow-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]
