Skip to content

Commit 2a93c6d

Browse files
kszucsclaude
andcommitted
Tests: loosen the PyArrow CDC chunk-size error match
The exact wording of PyArrow's message isn't part of the contract this test pins -- only that PyArrow, not pyiceberg, rejects the config. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 4296562 commit 2a93c6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/io/test_pyarrow.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5509,7 +5509,7 @@ def test_get_parquet_writer_kwargs_cdc_invalid_chunk_sizes_raises_from_pyarrow()
55095509
}
55105510
)
55115511
table = pa.table({"id": pa.array([1, 2, 3], type=pa.int32())})
5512-
with pytest.raises(OSError, match="max_chunk_size must be greater than min_chunk_size"):
5512+
with pytest.raises(OSError, match="max_chunk_size"):
55135513
with pq.ParquetWriter(pa.BufferOutputStream(), table.schema, **kwargs) as writer:
55145514
writer.write_table(table)
55155515

0 commit comments

Comments
 (0)