[ 
https://issues.apache.org/jira/browse/AVRO-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clément MAHTIEU updated AVRO-1583:
----------------------------------
    Affects Version/s: 1.7.7
               Status: Patch Available  (was: Open)

Add support of "-" to tojson & unit test.

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

Reply via email to