You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/03/31 13:44:21 UTC

[GitHub] [arrow] paleolimbot commented on issue #34779: [R] write_* methods can't have socketConnection as a sink

paleolimbot commented on issue #34779:
URL: https://github.com/apache/arrow/issues/34779#issuecomment-1491948867

   Thank you for opening this...we should absolutely be able to write an IPC stream over a socket!
   
   I believe this is a result of the way we wrap an R connection with an OutputStream and/or InputStream. I believe there's a place where we attempt a seek to see if we can get a random access file (needed for some types of files like parquet and arrow non-stream files). I think we check `isSeekable(con)` but I think there are some types of connections where that returns `TRUE` even though any attempt to actually seek will fail.
   
   For reference: https://github.com/apache/arrow/blob/main/r/src/io.cpp#L210-L410


-- 
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