The GitHub Actions job "Bindings Python CI" on 
iceberg-rust.git/python-decimal-uuid-methods has failed.
Run started by GitHub user geruh (triggered by geruh).

Head commit for run:
48463db1c7a7c7ceab10b858902be984b6104eb2 / geruh <[email protected]>
feat(python): add decimal_value, uuid_value, literal_type to PyPrimitiveLiteral

The Python bindings expose partition values from manifest files via
PyPrimitiveLiteral.value(), but this loses type information for:
- Decimal: Int128 returns Python int, losing scale information
- UUID: UInt128 returns Python int instead of uuid.UUID

Add three methods to PyPrimitiveLiteral:
- decimal_value(scale): Convert Int128 to decimal.Decimal with proper scale
- uuid_value(): Convert UInt128 to uuid.UUID
- literal_type(): Return type name for runtime type detection

This enables pyiceberg to properly convert partition values when reading
manifest files through the Rust bindings.

Related: #2062

Report URL: https://github.com/apache/iceberg-rust/actions/runs/21499591938

With regards,
GitHub Actions via GitBox

Reply via email to