jurossiar opened a new issue, #992: URL: https://github.com/apache/iceberg-python/issues/992
### Apache Iceberg version 0.7.0 (latest release) ### Please describe the bug 🐞 Testing the new functionalities of pyiceberg 0.7.0 I found that some queries using table.scan through an error when the result is empty sometimes. ``` ResolveError: Field is required, and could not be found in the file: 1: table_id: required string ``` <img width="1008" alt="image" src="https://github.com/user-attachments/assets/192a0b6b-7ba9-4f6f-9c65-8faeb55b942a"> This doesn't happen with pyiceberg 0.6.0 (the version that we are currently using). I was able to reproduce the issue consistently with the attached example. I think that this happens with tables with identifier fields (are the cases where I found the issue). [example.zip](https://github.com/user-attachments/files/16474537/example.zip) Contains: requirements.txt -> with the 4 dependencies required. example_scan_error.ipynb -> jupiter notebook where you can see the issue and reproduce it. .env.example: properties to configure. See video running the same queries with a conda environment with pyiceberg 0.7.0 and pyiceberg 0.6.0 (created with the same requirements.txt just chaning the pyceberg version to 0.6.0). https://github.com/user-attachments/assets/9d21d247-e754-4830-9fe0-55ec4c960319 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org