Class OrcShimV230

  • All Implemented Interfaces:
    Serializable, OrcShim<org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch>

    public class OrcShimV230
    extends OrcShimV210
    Shim orc for Hive version 2.1.0 and upper versions.

    After hive 2.3 and later, the orc API is basically stable, so we can call it directly.

    Since hive 2.2 not include orc classes, so we can use hive orc 2.3 to read from hive 2.2.

    See Also:
    Serialized Form
    • Constructor Detail

      • OrcShimV230

        public OrcShimV230()
    • Method Detail

      • createReader

        protected org.apache.orc.Reader createReader​(org.apache.hadoop.fs.Path path,
                                                     org.apache.hadoop.conf.Configuration conf)
                                              throws IOException
        Overrides:
        createReader in class OrcShimV200
        Throws:
        IOException
      • readOrcConf

        protected org.apache.orc.Reader.Options readOrcConf​(org.apache.orc.Reader.Options options,
                                                            org.apache.hadoop.conf.Configuration conf)
        Overrides:
        readOrcConf in class OrcShimV200