MCPcopy Create free account
hub / github.com/apache/arrow / test_parquet_invalid_version

Function test_parquet_invalid_version

python/pyarrow/tests/parquet/test_basic.py:61–68  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

59
60
61def test_parquet_invalid_version(tempdir):
62 table = pa.table({'a': [1, 2, 3]})
63 with pytest.raises(ValueError, match="Unsupported Parquet format version"):
64 _write_table(table, tempdir / 'test_version.parquet', version="2.2")
65 with pytest.raises(ValueError, match="Unsupported Parquet data page " +
66 "version"):
67 _write_table(table, tempdir / 'test_version.parquet',
68 data_page_version="2.2")
69
70
71def test_set_data_page_size():

Callers

nothing calls this directly

Calls 1

_write_tableFunction · 0.90

Tested by

no test coverage detected