Support upgrading tables to format version 3

Open Beginner friendly
#3,622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
databases

Research direction

Search for upgrade_table_version(3) and SUPPORTED_TABLE_FORMAT_VERSION in the PyIceberg codebase, then read the existing table-upgrade path and its related tests. Done means upgrading an existing table to format version 3 is accepted and next-row-id is initialized to 0, as required by the Row Lineage for Upgraded Tables specification.

Written by the indexing model from the issue text.

Description

Feature Request / Improvement

Part of #1551. #3551 enables writing V3 table metadata; this covers upgrading existing tables: allow upgrade_table_version(3) (currently rejected by SUPPORTED_TABLE_FORMAT_VERSION = 2) and initialize next-row-id to 0 on upgrade, per the spec's "Row Lineage for Upgraded Tables".

Dominant language
Python
Stars
1.1k
Forks
589
Avg merge
2d 4h
Merged PRs (30d)
72

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iceberg-python

All issues in apache/iceberg-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.