Skip to content

[test] Improve partition transform test #1591

Closed
@kevinjqliu

Description

@kevinjqliu

Feature Request / Improvement

Remove this try/catch once iceberg-rust/#920 is merged and new pyiceberg_core is ported over

try:
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]
except ValueError as e:
# Skipping unsupported feature
if "FeatureUnsupported => Unsupported data type for truncate transform" in str(e):
continue
raise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions