void close() {
      if ( inputPart != null ) {
        inputPart.close();
        inputPart = null;
      }
      tabFn.close();
      if ( next != null ) {
        next.close();
      }
    }
Create a new Partition.
A partition has 2 OIs: the OI for the rows being put in and the OI for the rows
coming out. You specify the output OI by giving the Serde to use to Serialize.
Typically these 2 OIs are the same; but not always. For the
first PTF in a chain the OI of the incoming rows is dictated by the Parent Op
to this PTFOp. The output OI from the Partition is typically LazyBinaryStruct, but
not always. In the case of Noop/NoopMap we keep the Strcuture the same as
what is given to us.
<p>
The Partition we want to create here is for feeding the First table function in the chain.
So for map-side processing use the Serde from the output Shape its InputDef.
For reduce-side processing use the Serde from its RawInputShape(the shape
after map-side processing).
@param oi
@param hiveConf
@param isMapSide
@return
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java