hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈涛 <bhsc.ha...@163.com>
Subject how to read orcfile,OrcStruct is not public
Date Fri, 27 Sep 2013 04:34:13 GMT
 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?


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message