-
Notifications
You must be signed in to change notification settings - Fork 414
Closed
Milestone
Description
Apache Iceberg version
None
Please describe the bug 🐞
While working on a Python REST server implementation (https://github.com/kevinjqliu/iceberg-rest-catalog), I noticed a few Pyiceberg bugs while integrating with PySpark. The REST server implementation is using SqlCatalog as the underlying catalog.
Here's the collection of bugs that I would like to upstream (main...kevinjqliu:iceberg-python:kevinjqliu/iceberg-rest-catalog)
To summarize:
-
rest.py'sdrop_namespacefunction is missing handling the409status code. (Handle error when trying to drop a non-empty namespace on rest.py #868) -
sql.py'sdrop_namespacefunction does not returnNoSuchNamespaceErrorwhen namespace is missing. (Raise error on nonexistent namespace on sql.py #865) -
sql.py'supdate_namespace_propertiesfunction only updates the first property and drops the rest. (fix: update all namespace properties in update_namespace_properties #873) -
TableMetadatais initialized with the default Pydantic object forschema,partition_spec, andsort_order, which does not play well with table updates.
I'll be happy to work on this but I think these are "good first issues". We can break these up into separate PRs with the relevant tests.
Fokko, HonahX, MehulBatra, sungwy and tusharchou
Metadata
Metadata
Assignees
Labels
No labels