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

Function test_open_dataset_from_fsspec

python/pyarrow/tests/test_dataset.py:3064–3071  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

3062
3063@pytest.mark.parquet
3064def test_open_dataset_from_fsspec(tempdir):
3065 table, path = _create_single_file(tempdir)
3066
3067 fsspec = pytest.importorskip("fsspec")
3068
3069 localfs = fsspec.filesystem("file")
3070 dataset = ds.dataset(path, filesystem=localfs)
3071 assert dataset.schema.equals(table.schema)
3072
3073
3074@pytest.mark.parquet

Callers

nothing calls this directly

Calls 3

_create_single_fileFunction · 0.85
filesystemMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected