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

Function write_options_args

python/pyarrow/tests/test_ipc.py:1398–1420  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

1396
1397@pytest.fixture
1398def write_options_args(request):
1399 if request.param == "default":
1400 return {
1401 "allow_64bit": False,
1402 "use_legacy_format": False,
1403 "metadata_version": pa.ipc.MetadataVersion.V5,
1404 "compression": None,
1405 "use_threads": True,
1406 "emit_dictionary_deltas": False,
1407 "unify_dictionaries": False,
1408 }
1409 elif request.param == "all":
1410 return {
1411 "allow_64bit": True,
1412 "use_legacy_format": True,
1413 "metadata_version": pa.ipc.MetadataVersion.V4,
1414 "compression": "zstd",
1415 "use_threads": False,
1416 "emit_dictionary_deltas": True,
1417 "unify_dictionaries": True,
1418 }
1419 else:
1420 return {}
1421
1422
1423@pytest.mark.zstd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected