We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26660eb commit a72f5eeCopy full SHA for a72f5ee
1 file changed
tests/table/test_partitioning.py
@@ -286,7 +286,7 @@ def test_incompatible_non_primitive_type() -> None:
286
with pytest.raises(ValidationError) as exc:
287
spec.check_compatible(schema)
288
289
- assert "Cannot partition by non-primitive source field: struct<>" in str(exc.value)
+ assert "Cannot partition by non-primitive source field: 1: foo: optional struct<>" in str(exc.value)
290
291
292
def test_incompatible_transform_source_type() -> None:
@@ -297,4 +297,4 @@ def test_incompatible_transform_source_type() -> None:
297
298
299
300
- assert "Invalid source type int for transform: year" in str(exc.value)
+ assert "Invalid source field foo with type int for transform: year" in str(exc.value)
0 commit comments