// Choose any partition. It's OI needs to be converted to the table OI
// Whenever a new partition is being read, a new converter is being created
PartitionDesc partition = listParts.get(0);
Deserializer tblSerde = partition.getTableDesc().getDeserializerClass().newInstance();
tblSerde.initialize(job, partition.getTableDesc().getProperties());
partitionedTableOI = null;
ObjectInspector tableOI = tblSerde.getObjectInspector();
// Get the OI corresponding to all the partitions