iceberg-python icon indicating copy to clipboard operation
iceberg-python copied to clipboard

[bug] Cannot perform table scan on V1 table

Open kevinjqliu opened this issue 1 year ago • 0 comments

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.

  1. Reading the manifest list defaults to V2 https://github.com/apache/iceberg-python/blob/620ad9f64307193ec0d26846b48f4e063b5da904/pyiceberg/manifest.py#L635

  2. Accessing fields not available in V1. https://github.com/apache/iceberg-python/blob/620ad9f64307193ec0d26846b48f4e063b5da904/pyiceberg/table/init.py#L1311 The content field 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

kevinjqliu avatar Sep 23 '24 22:09 kevinjqliu