kevinjqliu commented on code in PR #2552:
URL: https://github.com/apache/iceberg-python/pull/2552#discussion_r2400667483
##########
mkdocs/docs/api.md:
##########
@@ -1268,6 +1268,24 @@ with table.update_spec() as update:
update.rename_field("bucketed_id", "sharded_id")
```
+## Sort order updates
+
+Users can update the sort order on existing tables for new data. See
[sorting](https://iceberg.apache.org/spec/#sorting) for more details.
+
+The API to use when updating a sort order is the `update_sort_order` API on
the table.
+
+Sort orders can only be updated by adding a new sort order. They cannot be
deleted or modified.
+
Review Comment:
i think either is fine. theres a updateSortOrderSchema function in java
https://grep.app/search?f.repo=apache%2Ficeberg&q=updatesort
--
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]