Feature Request / Improvement
Although not in the official spec, version-hint.txt can be useful to read an iceberg table without a catalog.
This is useful when considering an iceberg table as a collection of files (metadata and data files) in a "directory" (s3 path). This can also be useful when ingesting iceberg tables without a catalog. An iceberg table can thus be "packaged" as a directory.
Example Usecase
- An Iceberg table is created in a service (with catalog) in the path (s3://blah/warehouse/foo/bar/)
- Reading the Iceberg table with another service by just providing the path (s3://blah/warehouse/foo/bar/)
When reading, version-hint.txt determines the metadata json, usually provided by querying the catalog.
When writing, version-hint.txt is committed with the atomic update to the catalog.
Additionally, StaticTable can use version-hint.txt to create an iceberg table from a path.
Relevant Issues:
cc @djouallah
Feature Request / Improvement
Although not in the official spec,
version-hint.txtcan be useful to read an iceberg table without a catalog.This is useful when considering an iceberg table as a collection of files (metadata and data files) in a "directory" (s3 path). This can also be useful when ingesting iceberg tables without a catalog. An iceberg table can thus be "packaged" as a directory.
Example Usecase
When reading,
version-hint.txtdetermines the metadata json, usually provided by querying the catalog.When writing,
version-hint.txtis committed with the atomic update to the catalog.Additionally,
StaticTablecan useversion-hint.txtto create an iceberg table from a path.Relevant Issues:
cc @djouallah