Skip to content

Commit

Permalink
check all transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Feb 21, 2025
1 parent b95e792 commit 0390637
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/table/test_partitioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,7 @@ def test_transform_consistency_with_pyarrow_transform(source_type: PrimitiveType
]
for t in all_transforms:
if t.can_transform(source_type):
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
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]


def test_deserialize_partition_field_v2() -> None:
Expand Down

0 comments on commit 0390637

Please sign in to comment.