kevinjqliu commented on code in PR #1433:
URL: https://github.com/apache/iceberg-python/pull/1433#discussion_r1904282046
##########
mkdocs/docs/api.md:
##########
@@ -961,20 +963,21 @@ Renaming a field in an Iceberg table is simple:
```python
with table.update_schema() as update:
update.rename_column("retries", "num_retries")
- # This will rename `confirmed_by` to `exchange`
- update.rename_column("properties.confirmed_by", "exchange")
+ # This will rename `confirmed_by` to `exchange` in the `details` struct
+ update.rename_column("details", "confirmed_by"), "exchange")
Review Comment:
```suggestion
update.rename_column(("details", "confirmed_by"), ("details",
"exchange"))
```
--
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]