File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,13 +80,22 @@ Or, list existing namespaces:
8080ns = catalog.list_namespaces()
8181
8282assert ns == [("docs_example",)]
83+ ` ` `
84+
85+ Next, update the namespace properties.
86+
87+ ` ` ` python
8388
8489# Load namespace properties
8590properties = catalog.load_namespace_properties("docs_example")
8691
8792# Update namespace properties with additions and removals.
8893catalog.update_namespace_properties("docs_example", removals={"remove-meee!"}, updates={"owner": "iceberg"})
94+ ` ` `
95+
96+ Finally, drop the namespace (if you want!)
8997
98+ ` ` ` python
9099# Drop a namespace
91100# catalog.drop_namespace("docs_example")
92101` ` `
@@ -174,6 +183,7 @@ with catalog.create_table_transaction(identifier="docs_example.bids", schema=sch
174183 update_spec.add_identity("symbol")
175184
176185 txn.set_properties(test_a="test_aa", test_b="test_b", test_c="test_c")
186+ ` ` `
177187
178188# # Register a table
179189
You can’t perform that action at this time.
0 commit comments