Skip to content

[feat] Ability to read table using version-hint.txt #763

Closed
@kevinjqliu

Description

@kevinjqliu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions