final TableDesc tblDesc) throws HiveException {
tableDesc = tblDesc;
properties = part.getSchemaFromTableSchema(tblDesc.getProperties()); // each partition maintains a large properties
partSpec = part.getSpec();
// deserializerClass = part.getDeserializer(properties).getClass();
Deserializer deserializer;
try {
deserializer = SerDeUtils.lookupDeserializer(
properties.getProperty(org.apache.hadoop.hive.serde.serdeConstants.SERIALIZATION_LIB));
} catch (SerDeException e) {
throw new HiveException(e);
}
deserializerClass = deserializer.getClass();
inputFileFormatClass = part.getInputFormatClass();
outputFileFormatClass = part.getOutputFormatClass();
serdeClassName = properties.getProperty(
org.apache.hadoop.hive.serde.serdeConstants.SERIALIZATION_LIB);
}