void startPartition() throws HiveException { if ( isStreaming() ) { tabFn.startPartition(); } else { if ( prev == null || prev.isOutputIterator() ) { if ( inputPart == null ) { createInputPartition(); } else { inputPart.reset(); } } } if ( next != null ) { next.startPartition(); } }
void startPartition() throws HiveException { if ( isStreaming() ) { tabFn.startPartition(); } else { if ( prev == null || prev.isOutputIterator() ) { if ( inputPart == null ) { createInputPartition(); } else { inputPart.reset(); } } } if ( next != null ) { next.startPartition(); } }
public PTFPartition execute(PTFPartition iPart) throws HiveException { if ( ptfDesc.isMapSide() ) { return transformRawInput(iPart); } PTFPartitionIterator<Object> pItr = iPart.iterator(); PTFOperator.connectLeadLagFunctionsToPartition(ptfDesc.getLlInfo(), pItr); if ( outputPartition == null ) { outputPartition = PTFPartition.create(ptfDesc.getCfg(), tableDef.getOutputShape().getSerde(), OI, tableDef.getOutputShape().getOI()); } else { outputPartition.reset(); } execute(pItr, outputPartition); return outputPartition; }
public PTFPartition execute(PTFPartition iPart) throws HiveException { if ( ptfDesc.isMapSide() ) { return transformRawInput(iPart); } PTFPartitionIterator<Object> pItr = iPart.iterator(); PTFOperator.connectLeadLagFunctionsToPartition(ptfDesc.getLlInfo(), pItr); if ( outputPartition == null ) { outputPartition = PTFPartition.create(ptfDesc.getCfg(), tableDef.getOutputShape().getSerde(), OI, tableDef.getOutputShape().getOI()); } else { outputPartition.reset(); } execute(pItr, outputPartition); return outputPartition; }
void startPartition() throws HiveException { if ( isStreaming() ) { tabFn.startPartition(); } else { if ( prev == null || prev.isOutputIterator() ) { if ( inputPart == null ) { createInputPartition(); } else { inputPart.reset(); } } } if ( next != null ) { next.startPartition(); } }
public PTFPartition execute(PTFPartition iPart) throws HiveException { if ( ptfDesc.isMapSide() ) { return transformRawInput(iPart); } PTFPartitionIterator<Object> pItr = iPart.iterator(); PTFOperator.connectLeadLagFunctionsToPartition(ptfDesc, pItr); if ( outputPartition == null ) { outputPartition = PTFPartition.create(ptfDesc.getCfg(), tableDef.getOutputShape().getSerde(), OI, tableDef.getOutputShape().getOI()); } else { outputPartition.reset(); } execute(pItr, outputPartition); return outputPartition; }