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

Function _check_dataset

python/pyarrow/tests/test_dataset.py:2412–2416  ·  view source on GitHub ↗
(dataset, table, dataset_reader, pickler)

Source from the content-addressed store, hash-verified

2410
2411
2412def _check_dataset(dataset, table, dataset_reader, pickler):
2413 # also test that pickle roundtrip keeps the functionality
2414 for d in [dataset, pickler.loads(pickler.dumps(dataset))]:
2415 assert dataset.schema.equals(table.schema)
2416 assert dataset_reader.to_table(dataset).equals(table)
2417
2418
2419def _check_dataset_from_path(path, table, dataset_reader, pickler, **kwargs):

Callers 2

_check_dataset_from_pathFunction · 0.85
test_specified_schemaFunction · 0.85

Calls 4

loadsMethod · 0.80
dumpsMethod · 0.80
equalsMethod · 0.80
to_tableMethod · 0.45

Tested by

no test coverage detected