Anurag-S1ngh opened a new pull request, #4450:
URL: https://github.com/apache/iceberg-python/pull/4450

   <!-- Closes #3897 -->
   # Rationale for this change
   
   Add `pyiceberg.catalog.hadoop.HadoopCatalog`, a filesystem-only catalog with 
the same layout as the Java HadoopCatalog: tables live under 
`<warehouse>/<namespace>/<table>`, metadata is written as `v{n}.metadata.json`, 
and `version-hint.text` points at the current version. When the hint is missing 
or stale, the latest metadata file is found by listing the metadata directory, 
which also opens tables named with the `00000-<uuid>.metadata.json` convention 
used by the REST and SQL catalogs.
   
   Namespaces map to directories and have no stored properties, matching Java. 
Rename, registration, views, and namespace property updates are not supported.
   
   New catalog type: `type=hadoop` with a `warehouse` property.
   
   ## Are these changes tested?
   
   Yes. `tests/catalog/test_hadoop.py` covers create, load, append, commit, 
version-hint updates, uuid-named metadata without a hint, stale hints, nested 
namespaces, listing, drop rules, custom locations, and unsupported operations. 
`tests/catalog/test_base.py` passes.
   
   ## Are there any user-facing changes?
   
   Yes. A new `HadoopCatalog` and the `hadoop` catalog type are available.
   


-- 
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]

Reply via email to