syun64 commented on issue #546:
URL: https://github.com/apache/iceberg-python/issues/546#issuecomment-2018451026
You can extend the same function to renaming the table namespace, granted
that the table namespace exists.
```
properties = {##Your catalog properties##}
catalog = load_catalog("my_catalog", **properties)
# Create the namespace if it doesn't yet exist:
catalog.create_namespace("new_namespace")
catalog.rename_table("old_namespace.table", "new_namespace.table")
```
--
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]