@Override
  public List<InputSplit> getSplits(JobContext jobContext)
      throws IOException, InterruptedException {
    LOG.debug("getSplits started");
    Configuration conf = ShimLoader.getHadoopShims().getConfiguration(jobContext);
    List<OrcSplit> splits = OrcInputFormat.generateSplitsInfo(conf, createContext(conf, -1));
    List<InputSplit> result = new ArrayList<InputSplit>(splits.size());
    for(OrcSplit split: splits) {
      result.add(new OrcNewSplit(split));
    }
    LOG.debug("getSplits finished");
    return result;
  }
An InputFormat for ORC files. Keys are meaningless,
value is the OrcStruct object
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcNewInputFormat.java