[
https://issues.apache.org/jira/browse/AVRO-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317313#comment-15317313
]
Doug Cutting commented on AVRO-1858:
------------------------------------
Should we use a long rather than an int for the counter? Should we support
both a starting and an ending point, or is that feature creep?
> Update DataFileReadTool (tojson) to support a "head" concept
> ------------------------------------------------------------
>
> Key: AVRO-1858
> URL: https://issues.apache.org/jira/browse/AVRO-1858
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.8.1
> Reporter: Mike Hurley
>
> 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
(v6.3.4#6332)