Skip to content

Commit 0390637

Browse files
committed
check all transforms
1 parent b95e792 commit 0390637

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/table/test_partitioning.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,7 @@ def test_transform_consistency_with_pyarrow_transform(source_type: PrimitiveType
208208
]
209209
for t in all_transforms:
210210
if t.can_transform(source_type):
211-
try:
212-
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]
213-
except ValueError as e:
214-
# Skipping unsupported feature
215-
if "FeatureUnsupported => Unsupported data type for truncate transform" in str(e):
216-
continue
217-
raise
211+
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]
218212

219213

220214
def test_deserialize_partition_field_v2() -> None:

0 commit comments

Comments
 (0)