You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/02/02 14:28:42 UTC
[GitHub] [arrow-cookbook] pitrou opened a new issue #140: [Python] test failure in io.rst
pitrou opened a new issue #140:
URL: https://github.com/apache/arrow-cookbook/issues/140
`make pytest` gives me the following error:
```
**********************************************************************
File "io.rst", line 511, in default
Failed example:
import pyarrow as pa
import pyarrow.dataset as ds
ds.write_dataset(data, "./partitioned", format="parquet",
partitioning=ds.partitioning(pa.schema([("year", pa.int16())])))
Exception raised:
Traceback (most recent call last):
File "/home/antoine/miniconda3/envs/cookbook/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest default[0]>", line 4, in <module>
ds.write_dataset(data, "./partitioned", format="parquet",
File "/home/antoine/miniconda3/envs/cookbook/lib/python3.9/site-packages/pyarrow/dataset.py", line 878, in write_dataset
_filesystemdataset_write(
File "pyarrow/_dataset.pyx", line 3408, in pyarrow._dataset._filesystemdataset_write
File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Could not write to ./partitioned as the directory is not empty and existing_data_behavior is to error
**********************************************************************
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-cookbook] pitrou commented on issue #140: [Python] test failure in io.rst
Posted by GitBox <gi...@apache.org>.
pitrou commented on issue #140:
URL: https://github.com/apache/arrow-cookbook/issues/140#issuecomment-1027995328
cc @amol-
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org