fix(decimal): use minimal byte length for negative powers of two (#3746)

* fix(decimal): use minimal byte length for negative powers of two

* test(decimal): add positive Decimal case to
  bytes_required

* test(decimal): cover negative boundary bucketing

---------

Co-authored-by: Kevin Liu <kevin.jq.liu@gmail.com>
3 files changed
tree: eb912664a3e5fb4b840d19660f761883a046c9f2
  1. .github/
  2. dev/
  3. mkdocs/
  4. notebooks/
  5. pyiceberg/
  6. tests/
  7. vendor/
  8. .asf.yaml
  9. .codespellrc
  10. .gitignore
  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. ruff.toml
  21. SECURITY-THREAT-MODEL.md
  22. setup.py
  23. 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