Assign sequential partition field ids when reading v1 metadata without them (#4354)

In v1 the partition field ids were not tracked and were assigned sequentially from 1000 in each spec. A v1 partition spec whose fields have no field-id failed to parse, with a TypeError for two or more fields.
2 files changed
tree: 77e27d5d956c213a1c1c4d8aec6f44ed938fbed2
  1. .github/
  2. dev/
  3. mkdocs/
  4. notebooks/
  5. pyiceberg/
  6. tests/
  7. vendor/
  8. .asf.yaml
  9. .gitignore
  10. .markdown-link-check.json
  11. .markdownlint.yaml
  12. .pre-commit-config.yaml
  13. AGENTS.md
  14. LICENSE
  15. Makefile
  16. MANIFEST.in
  17. NOTICE
  18. pyproject.toml
  19. README.md
  20. SECURITY-THREAT-MODEL.md
  21. setup.py
  22. 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