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

Function _write_dummy_data_to_disk

python/pyarrow/tests/test_substrait.py:43–47  ·  view source on GitHub ↗
(tmpdir, file_name, table)

Source from the content-addressed store, hash-verified

41
42
43def _write_dummy_data_to_disk(tmpdir, file_name, table):
44 path = os.path.join(str(tmpdir), file_name)
45 with pa.ipc.RecordBatchFileWriter(path, schema=table.schema) as writer:
46 writer.write_table(table)
47 return path
48
49
50@pytest.mark.parametrize("use_threads", [True, False])

Calls 3

RecordBatchFileWriterMethod · 0.80
joinMethod · 0.45
write_tableMethod · 0.45

Tested by

no test coverage detected