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

Function test_open_file_options

python/pyarrow/tests/test_ipc.py:363–373  ·  view source on GitHub ↗
(file_fixture, options)

Source from the content-addressed store, hash-verified

361 pa.ipc.IpcReadOptions(use_threads=False),
362])
363def test_open_file_options(file_fixture, options):
364 file_fixture.write_batches()
365 source = file_fixture.get_source()
366
367 reader = pa.ipc.open_file(source, options=options)
368
369 reader.read_all()
370
371 st = reader.stats
372 assert st.num_messages == 6
373 assert st.num_record_batches == 5
374
375
376def test_open_file_with_wrong_options(file_fixture):

Callers

nothing calls this directly

Calls 2

write_batchesMethod · 0.80
get_sourceMethod · 0.80

Tested by

no test coverage detected