[
https://issues.apache.org/jira/browse/AVRO-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317476#comment-15317476
]
Mike Hurley commented on AVRO-1858:
-----------------------------------
Since there's no skip/take feature yet, I think it makes sense to stay put as
head since that's a well known term for the operation. If skip/take is ever
added, head can be made an alias of "skip 0, take X".
> 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)