Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0.0
-
None
-
Windows 10
Description
Please check the below code. If I uncomment line six then the table written to disk is loaded as an empty table.
Similar behavior is observed when the directory name starts with `_`.
This was not the case in earlier versions.
```python
import pyarrow.parquet as pq
import pyarrow as pa
import pathlib
_path = pathlib.Path("abc").resolve()
_path /= "xyz"
_path /= ".lmn" # uncomment this has a 'dot' at start of the folder
_path /= "file_name"
pq.write_to_dataset(
table=pa.table(
),
root_path=_path.as_posix()
)
t = pq.read_table(_path)
print(t.to_pandas())
```
Attachments
Issue Links
- duplicates
-
ARROW-9644 [C++][Dataset] Do not check for ignore_prefixes in the base path
- Resolved