apache / iceberg-python

Apache PyIceberg
https://py.iceberg.apache.org/
Apache License 2.0
402 stars 147 forks source link

Catalog table-default and table-override properties #362

Open sungwy opened 8 months ago

sungwy commented 8 months ago

Feature Request / Improvement

In the java code base, catalog configuration includes catalog table-default and table-override properties:

Catalog Property Key Description
spark.sql.catalog.catalog-name.table-default.propertyKey Default Iceberg table property value for property key propertyKey, which will be set on tables created by this catalog if not overridden
spark.sql.catalog.catalog-name.table-override.propertyKey Enforced Iceberg table property value for property key propertyKey, which cannot be overridden by user

Introduce these properties to PyIceberg catalogs, and apply them to appropriate function calls.

Related Issue: https://github.com/apache/iceberg/issues/3994 Related PR: https://github.com/apache/iceberg/pull/4011

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.