[
https://issues.apache.org/jira/browse/AVRO-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127638#comment-14127638
]
ASF subversion and git services commented on AVRO-1583:
-------------------------------------------------------
Commit 1623881 from [~cutting] in branch 'avro/trunk'
[ https://svn.apache.org/r1623881 ]
AVRO-1583. Java: Add stdin support to the tojson tool. Contributed by Clément
Mahtieu.
> Add stdin support to tojson
> ---------------------------
>
> Key: AVRO-1583
> URL: https://issues.apache.org/jira/browse/AVRO-1583
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.7.7
> Reporter: Clément MAHTIEU
> Attachments: AVRO-1583.patch
>
>
> Unlike most of the avro tools tojson does not currently support reading from
> stdin. Adding this support would be quite conveniant. For example a pipe of
> concat and tojson is much easier to use that having to write a shell script
> to create a local file.
> Source code said that stdin is not supported because we need a seekable
> stream, however I believe this comment is outdated since it just works and
> other tools have no issue dealing with stdin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)