rdblue commented on code in PR #8374:
URL: https://github.com/apache/iceberg/pull/8374#discussion_r1315076119


##########
python/mkdocs/docs/api.md:
##########
@@ -204,20 +196,20 @@ Renaming a field in an Iceberg table is simple:
 ```python
 with table.update_schema() as update:
     update.rename("retries", "num_retries")
-    # In a struct, only the new name field
+    # This will rename `confirmed_by` to `exchange`
     update.rename("properties.confirmed_by", "exchange")
 ```
 
-### Rename column
+### Move column
 
 Move a field inside of struct:
 
 ```python
 with table.update_schema() as update:
     update.move_first("symbol")
     update.move_after("bid", "ask")
-    # In a struct, only the new name field
-    update.move_before("details.exchange", "properties.created_by")
+    # This will move `confirmed_by` before `exchange`

Review Comment:
   Nit: `created_by` is moved, not `confirmed_by`.



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