serde.initialize(job, table.getProperties());
return createRowInspector(getCurrent(serde));
}
private StructObjectInspector setPrtnDesc(PartitionDesc partition) throws Exception {
Deserializer serde = partition.getDeserializerClass().newInstance();
serde.initialize(job, partition.getProperties());
String pcols = partition.getTableDesc().getProperties().getProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_PARTITION_COLUMNS);
String[] partKeys = pcols.trim().split("/");
row[1] = createPartValue(partKeys, partition.getPartSpec());
return createRowInspector(getCurrent(serde), partKeys);