iceberg-python
iceberg-python copied to clipboard
[bug] Cannot perform table scan on V1 table
Apache Iceberg version
main (development)
Please describe the bug 🐞
While working with a V1 table, I noticed a few bugs which prevent table scan on V1 table.
-
Reading the manifest list defaults to V2 https://github.com/apache/iceberg-python/blob/620ad9f64307193ec0d26846b48f4e063b5da904/pyiceberg/manifest.py#L635
-
Accessing fields not available in V1. https://github.com/apache/iceberg-python/blob/620ad9f64307193ec0d26846b48f4e063b5da904/pyiceberg/table/init.py#L1311 The
contentfield is not available in V1, according to the spec. There are multiple places where something like this occurs.
Add a test to verify table scan on a V1 table