Anurag-S1ngh opened a new pull request, #4597: URL: https://github.com/apache/iceberg-python/pull/4597
Part of #4140 # Rationale for this change Java clients store the table owner in the `hive.metastore.table.owner` table property, while PyIceberg reads `owner`. Tables now fall back to the Java property, with `owner` taking precedence. For databases, `hive.metastore.database.owner` and `hive.metastore.database.owner-type` are mapped to the Thrift owner fields and removed from the database parameters, matching Java's `HiveCatalog`. Setting an owner type without an owner raises. ## Are these changes tested? Added tests for the Java table owner, native-key precedence, the database owner and owner type, and the owner-type-without-owner error. `tests/catalog/test_hive.py` passes apart from four kerberos tests that also fail on clean main because the kerberos extra is not installed locally. ## Are there any user-facing changes? Yes. The Java owner properties are accepted. -- 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]
