Re: pyarrow using socket as sink for StreamWriter

2017-04-14 Thread Bryan Cutler
Made a Jira for this issue https://issues.apache.org/jira/browse/ARROW-822 On Apr 13, 2017 11:31 AM, "Bryan Cutler" wrote: > Hi Devs, > > What is the recommended way to use the pyarrow StreamWriter to write to a > socket? I've the following: > > - Use socket directly and get "TypeError: Unable

pyarrow using socket as sink for StreamWriter

2017-04-13 Thread Bryan Cutler
Hi Devs, What is the recommended way to use the pyarrow StreamWriter to write to a socket? I've the following: - Use socket directly and get "TypeError: Unable to read from object of type: " looks like pyarrow expects the object to have a "write" attribute - Using as a file object with: "sock