Skip to content

Commit 311f7b6

Browse files
authored
use mark to skip BucketTransform in Spark uuid partition test
1 parent 3eef256 commit 311f7b6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/integration/test_writes/test_writes.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,15 +2091,20 @@ def test_read_write_decimals(session_catalog: Catalog) -> None:
20912091
assert tbl.scan().to_arrow() == arrow_table
20922092

20932093

2094-
@pytest.mark.skip("UUID BucketTransform is not supported in Spark Iceberg 1.9.2 yet")
20952094
@pytest.mark.integration
20962095
@pytest.mark.parametrize(
20972096
"transform",
20982097
[
20992098
IdentityTransform(),
2100-
# Bucket is disabled because of an issue in Iceberg Java:
2101-
# https://github.com/apache/iceberg/pull/13324
2102-
# BucketTransform(32)
2099+
pytest.param(
2100+
BucketTransform(32),
2101+
marks=pytest.mark.skip(
2102+
reason="""
2103+
Bucket is disabled because of an issue in Iceberg Java:
2104+
https://github.com/apache/iceberg/pull/13324
2105+
"""
2106+
),
2107+
),
21032108
],
21042109
)
21052110
def test_uuid_partitioning(session_catalog: Catalog, spark: SparkSession, transform: Transform) -> None: # type: ignore

0 commit comments

Comments
 (0)