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

Function _check_dataset

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

Source from the content-addressed store, hash-verified

2415
2416
2417def _check_dataset(dataset, table, dataset_reader, pickler):
2418 # also test that pickle roundtrip keeps the functionality
2419 for d in [dataset, pickler.loads(pickler.dumps(dataset))]:
2420 assert dataset.schema.equals(table.schema)
2421 assert dataset_reader.to_table(dataset).equals(table)
2422
2423
2424def _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