apache / iceberg-python

Apache PyIceberg
https://py.iceberg.apache.org/
Apache License 2.0
309 stars 114 forks source link

Create table format version constants #851

Open kevinjqliu opened 1 week ago

kevinjqliu commented 1 week ago

Feature Request / Improvement

Define constants for the table format version, for V1, V2, and future V3 table versions.

Many places refer to the constant 1 and 2 as table versions. This will become harder to track and maintain as we add more features that are specific to a table version.

Example: https://github.com/search?q=repo%3Aapache%2Ficeberg-python+path%3Atable%2Fmetadata.py+%22%3D+1%22&type=code

harsha-mangena commented 1 week ago

Hey @kevinjqliu, Can I pick up this issue.

kevinjqliu commented 1 week ago

Sure thing, please let me know if you have any questions