Skip to content

Support creating tags  #573

@enkidulan

Description

@enkidulan

Feature Request / Improvement

Historical tags in iceberg docs - https://iceberg.apache.org/docs/1.5.0/branching/#historical-tags

Not sure if it was intentional behavior, but pyiceberg v0.6.0 allowed tagging by using public set_ref_snapshot method:

with table.transaction() as transaction:
    transaction.set_ref_snapshot(
        snapshot_id=snapshot_id,
        parent_snapshot_id=snapshot_id,
        ref_name=revision,
        type="tag",
    )

The new dev version (the current main branch) has deprecated the set_ref_snapshot method, so I can't find a way to create a tag using public methods on the transaction object.

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