Update OracleDataDrivenDBInputFormat.java

This commit is contained in:
Peeb 2015-03-20 11:38:13 +08:00
parent e37ca221bf
commit 3a189440e7

View File

@ -87,7 +87,7 @@ protected RecordReader<LongWritable, T> createDBRecordReader(DBInputSplit split,
conf, createConnection(), dbConf, dbConf.getInputConditions(),
dbConf.getInputFieldNames(), dbConf.getInputTableName());
} catch (SQLException ex) {
throw new IOException(ex.getMessage());
throw new IOException(ex);
}
}
}