Fokko commented on issue #1245: URL: https://github.com/apache/iceberg-python/issues/1245#issuecomment-2478154332
For inspiration we can look at the Java side, there is a method on the table called `replaceSortOrder()`: I would expect something like, similar to [Java](https://github.com/apache/iceberg/blob/4c0288a4ca86d0cf400405777808e2eb706d8d25/api/src/main/java/org/apache/iceberg/SortOrder.java#L192): ```python with table.replace_sort_order() as update: update.asc("id") # identity update.desc("user-id", BucketTransform(16)) # Bucket transform ``` Similar to the partition spec: https://py.iceberg.apache.org/api/#partition-evolution but a bit more straightforward, since in the Spec we update it, and with the sort-order we replace it :) Feel free to reach out if you run into anything! -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org