You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/02/21 08:10:00 UTC
[jira] [Commented] (ARROW-15738) [C++] Unable to use a FIFO as a OSFile path.
[ https://issues.apache.org/jira/browse/ARROW-15738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495371#comment-17495371 ]
Antoine Pitrou commented on ARROW-15738:
----------------------------------------
Can you show a simple reproducer?
> [C++] 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
> Priority: Minor
>
> 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)