You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/04 23:54:41 UTC

[jira] [Commented] (AVRO-1583) Add stdin support to tojson

    [ https://issues.apache.org/jira/browse/AVRO-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133247#comment-15133247 ] 

ASF GitHub Bot commented on AVRO-1583:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/avro/pull/65


> 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 MATHIEU
>            Assignee: Clément MATHIEU
>             Fix For: 1.8.0
>
>         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)