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

Function test_set_data_page_size

python/pyarrow/tests/parquet/test_basic.py:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_set_data_page_size():
72 arr = pa.array([1, 2, 3] * 100000)
73 t = pa.Table.from_arrays([arr], names=['f0'])
74
75 # 128K, 512K
76 page_sizes = [2 << 16, 2 << 18]
77 for target_page_size in page_sizes:
78 _check_roundtrip(t, data_page_size=target_page_size)
79
80
81@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

_check_roundtripFunction · 0.90
arrayMethod · 0.45

Tested by

no test coverage detected