-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Cannot perform table scan on V1 table #1194
Comments
@kevinjqliu Thanks for raising this. Can you elaborate on what you encountered when reading a V1 table? The Iceberg metadata is forward compatible, meaning we can turn any V1 table into a V2 (or V3) without issues. The content field you mention will always be It would be great to get a test that uncovers the issue so we can get this fixed :) |
Added a reproducible test in #1483, i had to save the biglake iceberg table locally. please take a look |
#1484 is a better, isolated test. It's using the minimal required schema for a v1 table manifest list. |
Spark's V1 manifest list writer writes the optional |
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
iceberg-python/pyiceberg/manifest.py
Line 635 in 620ad9f
Accessing fields not available in V1.
iceberg-python/pyiceberg/table/__init__.py
Line 1311 in 620ad9f
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
The text was updated successfully, but these errors were encountered: