Use orcfiledump with the -d parameter. It will print the contents of the
orc file. You could also use the file-contents executable from the C++ ORC
reader.

.. Owen

On Fri, Apr 8, 2016 at 5:53 PM, Gautam <[email protected]> wrote:

> Hey,
>
>            This might be too obvious a question but I haven't found a way
> to validate ordering in an ORC file. I need each file to be ordered by a
> column, Is there a sure shot way of ensuring the sort order in an ORC file
> is as I expect it?
>
> The closest i'v come to is using the hive --orcfiledump --rowindex
> <col_id> which prints that columns min/max values in the index. But that is
> still not saying if the data within the stripes is sorted.
>
> Cheers,
> -Gautam.
>

Reply via email to