use of org.apache.hadoop.hive.llap.LlapRowRecordReader in project hive by apache.
the class LlapRowInputFormat method getRecordReader.
@Override
public RecordReader<NullWritable, Row> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException {
LlapInputSplit llapSplit = (LlapInputSplit) split;
LlapBaseRecordReader<Text> reader = (LlapBaseRecordReader<Text>) baseInputFormat.getRecordReader(llapSplit, job, reporter);
return new LlapRowRecordReader(job, reader.getSchema(), reader);
}
Aggregations