jorisvandenbossche commented on pull request #7180:
URL: https://github.com/apache/arrow/pull/7180#issuecomment-631059751
It seems this failure doesn't happen all the time for me. Running it a few
times, I see also see the FileNotFoundError, but in 1 out of 2 cases,
approximately.
Now, when running it on an actual example in the interactive terminal (from
a small dataset where I actually deleted one of the files), I consistently see
the segfault:
```
In [1]: import pyarrow.dataset as ds
In [2]: dataset = ds.parquet_dataset("/tmp/tmp9qt6cph5/_metadata")
In [3]: dataset.to_table()
terminate called after throwing an instance of 'std::system_error'
what(): Invalid argument
Aborted (core dumped)
```
I get a different stacktrace when running the tests, something about the
"unlink", so it might be that the way I remove the file in the test is not very
robust / is not similar to deleting a file in the file browser.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]