Search in sources :

Example 1 with RecordReader

use of org.apache.hadoop.hive.ql.exec.RecordReader in project hive by apache.

the class SemanticAnalyzer method getDefaultRecordReader.

private Class<? extends RecordReader> getDefaultRecordReader() throws SemanticException {
    String name;
    name = conf.getVar(HiveConf.ConfVars.HIVESCRIPTRECORDREADER);
    try {
        return (Class<? extends RecordReader>) Class.forName(name, true, Utilities.getSessionSpecifiedClassLoader());
    } catch (ClassNotFoundException e) {
        throw new SemanticException(e);
    }
}
Also used : RecordReader(org.apache.hadoop.hive.ql.exec.RecordReader) CalciteSemanticException(org.apache.hadoop.hive.ql.optimizer.calcite.CalciteSemanticException)

Aggregations

RecordReader (org.apache.hadoop.hive.ql.exec.RecordReader)1 CalciteSemanticException (org.apache.hadoop.hive.ql.optimizer.calcite.CalciteSemanticException)1