You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Tom (Jira)" <ji...@apache.org> on 2020/07/22 18:06:00 UTC
[jira] [Resolved] (AVRO-2900) Allow limiting the number of results
parsed by Avro tools's tojson
[ https://issues.apache.org/jira/browse/AVRO-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom resolved AVRO-2900.
-----------------------
Resolution: Not A Problem
This is already implemented.
> Allow limiting the number of results parsed by Avro tools's tojson
> ------------------------------------------------------------------
>
> Key: AVRO-2900
> URL: https://issues.apache.org/jira/browse/AVRO-2900
> Project: Apache Avro
> Issue Type: Improvement
> Components: tools
> Reporter: Tom
> Priority: Minor
>
> Avro tools currently does not allow the user to specify a maximum number of entries to parse. A workaround is to use {{head}} and ctrl-c, but that is not too nice.
> Judging by the [source|https://github.com/apache/avro/blob/master/lang/java/tools/src/main/java/org/apache/avro/tool/BinaryFragmentToJsonTool.java] it seems not too hard to add this functionality.
> I can give it a go, but according to the contribution guidelines, I'll should here first.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)