implement stageOnly Commit (#2269)

# Rationale for this change
In java, snapshotProducer can create stageOnly snapshot meaning only the
snapshot is created but the snapshot is not set to a ref.

This is a prerequisite to support wap.id in py-iceberg

# Are these changes tested?
Yes, tests are added.

# Are there any user-facing changes?
By default, it will stay with the current existing behavior.

---------

Co-authored-by: Yingjian Wu <yingjianw@netflix.com>
6 files changed
tree: d0f55c07d2db2a177a92865e05809c491ba15c9f
  1. .github/
  2. dev/
  3. mkdocs/
  4. pyiceberg/
  5. tests/
  6. vendor/
  7. .asf.yaml
  8. .codespellrc
  9. .gitignore
  10. .markdownlint.yaml
  11. .pre-commit-config.yaml
  12. build-module.py
  13. LICENSE
  14. Makefile
  15. MANIFEST.in
  16. NOTICE
  17. poetry.lock
  18. pyproject.toml
  19. README.md
  20. ruff.toml
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