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/20 07:19:00 UTC
[jira] [Updated] (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 updated AVRO-2900:
----------------------
Description:
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.
was:
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.
> 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)