apache / apache/iceberg-python

Support upgrading tables to format version 3

Open Beginner friendly
#3,622 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
581
Avg merge
1d 17h
Merged PRs (30d)
78

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".

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.