*/
public static Partition createFirstPartitionForChain(QueryDef qDef, ObjectInspector oi,
HiveConf hiveConf, boolean isMapSide) throws WindowingException
{
TableFuncDef tabDef = getFirstTableFunction(qDef);
TableFunctionEvaluator tEval = tabDef.getFunction();
String partClassName = tEval.getPartitionClass();
int partMemSize = tEval.getPartitionMemSize();
Partition part = null;
SerDe serde = tabDef.getInput().getSerde();
part = new Partition(partClassName, partMemSize, serde,
(StructObjectInspector) oi);