Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
import pyarrow as pa import pyarrow.parquet as pq import pyarrow.dataset as ds table = pa.table({'a': np.random.randn(10), 'b': range(10), 'c': ['a', 'b'] * 5}) pq.write_table(table, "test.parquet") import pathlib ds.dataset(pathlib.Path("./test.parquet")) # gives UnionDataset ds.dataset(str(pathlib.Path("./test.parquet"))) # correctly gives FileSystemDataset
and since those two dataset classes have different API, this is important to give FileSystemDataset
Attachments
Issue Links
- links to