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

Function test_read_s3fs

python/pyarrow/tests/parquet/test_dataset.py:473–480  ·  view source on GitHub ↗
(s3_example_s3fs, )

Source from the content-addressed store, hash-verified

471
472@pytest.mark.s3
473def test_read_s3fs(s3_example_s3fs, ):
474 fs, path = s3_example_s3fs
475 path = path + "/test.parquet"
476 table = pa.table({"a": [1, 2, 3]})
477 _write_table(table, path, filesystem=fs)
478
479 result = _read_table(path, filesystem=fs)
480 assert result.equals(table)
481
482
483@pytest.mark.s3

Callers

nothing calls this directly

Calls 3

_write_tableFunction · 0.90
_read_tableFunction · 0.90
equalsMethod · 0.80

Tested by

no test coverage detected