dingo4dev opened a new pull request, #2629:
URL: https://github.com/apache/iceberg-python/pull/2629
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
This PR introduces support for multi-part namespaces, enabling more flexible
and organized data layouts. This feature allows users to structure their tables
within nested hierarchies (e.g., `('database', 'schema', 'table')`), which is a
common pattern in many data warehouse systems.
The level of support varies depending on the underlying catalog
implementation. Here's a summary of the changes:
| Catalog Implementation | Multi-Part Namespace Support | Notes
|
| ---------------------- | ------------------------------ |
----------------------------------------------------------------------- |
| REST Catalog | ✅ Yes | Fully supports
multi-part namespaces as defined by the REST spec. |
| DynamoDB Catalog | ✅ Yes | The namespace is
represented as a composite key. |
| File Catalog | ✅ Yes | Namespace parts
are mapped to directory hierarchies in the file system. |
| In-Memory Catalog | ✅ Yes | Supports
multi-part namespaces for testing purposes. |
| Hive Catalog | ❌ No | Spark and Hive
Metastore do not support multi-part namespaces. |
| Glue Catalog | ❌ No | Uses AWS Glue
databases which do not support multi-part namespaces. |
## Are these changes tested?
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label. -->
--
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]