Rusty Conover created ARROW-15738:
-------------------------------------
Summary: Unable to use a FIFO as a OSFile path.
Key: ARROW-15738
URL: https://issues.apache.org/jira/browse/ARROW-15738
Project: Apache Arrow
Issue Type: Bug
Components: C++, Python
Affects Versions: 7.0.0
Environment: Linux
Reporter: Rusty Conover
When attempting to use a named pipe or FIFO as an OSFile an error is raised
because the file handle is not seekable (lseek() fails).
Having the ability to use a named pipe as an OSFile rather than a PythonFile
brings the advantages of no having to interact via the GIL in python.
I propose that there be a way to create an OSFile that represents non-seekable
streams, these would be very useful for csv.open_csv().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)