String tableName = String.valueOf(tblProps.getProperty("name"));
String partName = String.valueOf(partSpec);
// HiveConf.setVar(hconf, HiveConf.ConfVars.HIVETABLENAME, tableName);
// HiveConf.setVar(hconf, HiveConf.ConfVars.HIVEPARTITIONNAME, partName);
Deserializer deserializer = (Deserializer) sdclass.newInstance();
deserializer.initialize(hconf, tblProps);
StructObjectInspector rawRowObjectInspector = (StructObjectInspector) deserializer
.getObjectInspector();
MapOpCtx opCtx = null;
// Next check if this table has partitions and if so
// get the list of partition names as well as allocate