[
https://issues.apache.org/jira/browse/AVRO-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063902#comment-14063902
]
Uri Laserson commented on AVRO-1286:
------------------------------------
I've been a little out of the loop with Avro Python development, but do you
mean pass the {{file_like_object}} to the {{DataFileReader}} constructor? But
IIRC, this will then seek to the end of the file in order to get the number of
bytes to expect. What happens if you seek to the end of the file in this case?
Will it try to buffer the entire input stream in memory?
> Python script avro cat should be able to read from stdin
> --------------------------------------------------------
>
> Key: AVRO-1286
> URL: https://issues.apache.org/jira/browse/AVRO-1286
> Project: Avro
> Issue Type: Bug
> Components: python
> Reporter: Uri Laserson
> Priority: Minor
>
> Currently, you have to specify a target file on the command line. But it
> would be nice to be able to stream data through avro cat.
--
This message was sent by Atlassian JIRA
(v6.2#6252)