hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Psaltis <>
Subject Re: how to read orcfile,OrcStruct is not public
Date Sat, 28 Sep 2013 02:50:14 GMT
Is the current plan to make HCatalog the only way be which one can read
and/or write ORC files? It seems like there are cases where it would be
nice to use ORC files outside of Pig, Hive, Map Reduce, perhaps as an
alternative to Parquet.


On 9/27/13 12:36 AM, "Thejas Nair" <> wrote:

>you can use hcatalog input and output formats to read/write ORC from
>On Thu, Sep 26, 2013 at 9:34 PM, 陈涛 <> wrote:
>>  i am trying to write orcfile(snappy) instead of sequencefile(lzo) in
>>mapreduce,but OrcStruct is not public include getFieldValue method:
>> class OrcStruct implements Writable {
>>   private Object[] fields;
>>   OrcStruct(int children) {
>>     fields = new Object[children];
>>   }
>>   Object getFieldValue(int fieldIndex) {
>>     return fields[fieldIndex];
>>   }
>> }
>> so,how can i read orcfile?
>NOTICE: This message is intended for the use of the individual or entity
>which it is addressed and may contain information that is confidential,
>privileged and exempt from disclosure under applicable law. If the reader
>of this message is not the intended recipient, you are hereby notified
>any printing, copying, dissemination, distribution, disclosure or
>forwarding of this communication is strictly prohibited. If you have
>received this communication in error, please contact the sender
>and delete it from your system. Thank You.

View raw message