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 subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/29 20:40:00 UTC

[jira] [Commented] (AVRO-1858) Update DataFileReadTool (tojson) to support a "head" concept

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

ASF subversion and git services commented on AVRO-1858:
-------------------------------------------------------

Commit 6970d2f64ab77748f895bb82b0fa6cd512a34c30 in avro's branch refs/heads/branch-1.8 from MikeHurleySurescripts
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=6970d2f ]

AVRO-1858 add tojson head mode (#100)

* AVRO-1858: added --head option to the tojson operation

* AVRO-1858: added unit tests for tojson --head option

* AVRO-1858: head input and record counters are now longs

* AVRO-1858: added tojson --head tests for zero and negative values. Negative head count is now an error.


> Update DataFileReadTool (tojson) to support a "head" concept
> ------------------------------------------------------------
>
>                 Key: AVRO-1858
>                 URL: https://issues.apache.org/jira/browse/AVRO-1858
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.8.1
>            Reporter: Mike Hurley
>            Assignee: Mike Hurley
>            Priority: Major
>
> It would be nice if the tojson operator supported a "head" concept in order to get a sampling of records in an Avro file.
> Allow specifying a maximum record count to display. If no max is given in head mode, use a reasonable default (like 10).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)