I think there is no explicit sort info in orc meta. because sorting is just
rule of inserting.

table may created with sorted by.
then must be inserted with sorted data.
now we can check both of table spec and orc stats.
2016. 4. 9. 오전 9:57에 "Owen O'Malley" <[email protected]>님이 작성:

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