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

Function test_chunked_table_write

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

Source from the content-addressed store, hash-verified

101
102@pytest.mark.pandas
103def test_chunked_table_write():
104 # ARROW-232
105 tables = []
106 batch = pa.RecordBatch.from_pandas(alltypes_sample(size=10))
107 tables.append(pa.Table.from_batches([batch] * 3))
108 df, _ = dataframe_with_lists()
109 batch = pa.RecordBatch.from_pandas(df)
110 tables.append(pa.Table.from_batches([batch] * 3))
111
112 for data_page_version in ['1.0', '2.0']:
113 for use_dictionary in [True, False]:
114 for table in tables:
115 _check_roundtrip(
116 table, version='2.6',
117 data_page_version=data_page_version,
118 use_dictionary=use_dictionary)
119
120
121@pytest.mark.pandas

Callers

nothing calls this directly

Calls 4

alltypes_sampleFunction · 0.90
dataframe_with_listsFunction · 0.90
_check_roundtripFunction · 0.90
appendMethod · 0.45

Tested by

no test coverage detected