Skip unknown nested fields when resolving Avro read schemas (#4289)

Fields are resolved by ID, so a file field that is not in the read schema
should be read and dropped. This already worked for primitives, but a
file-only map, list, or struct raised ResolveError, e.g. when a writer adds
extra map fields to data_file in manifests.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed
tree: 1271bf44adf6cab47a24297925e101e08612b43d
  1. .github/
  2. dev/
  3. mkdocs/
  4. notebooks/
  5. pyiceberg/
  6. tests/
  7. vendor/
  8. .asf.yaml
  9. .gitignore
  10. .markdownlint.yaml
  11. .pre-commit-config.yaml
  12. AGENTS.md
  13. LICENSE
  14. Makefile
  15. MANIFEST.in
  16. NOTICE
  17. pyproject.toml
  18. README.md
  19. SECURITY-THREAT-MODEL.md
  20. setup.py
  21. uv.lock
README.md

Iceberg Python

PyIceberg is a Python library for programmatic access to Iceberg table metadata as well as to table data in Iceberg format. It is a Python implementation of the Iceberg table spec.

The documentation is available at https://py.iceberg.apache.org/.

Get in Touch