}
float heapPerc = PartitionSkewedKeys.DEFAULT_PERCENT_MEMUSAGE;
if (pigProperties.containsKey(PigConfiguration.PERC_MEM_AVAIL)) {
heapPerc = Float.valueOf(pigProperties.getProperty(PigConfiguration.PERC_MEM_AVAIL));
}
POPoissonSample poSample = new POPoissonSample(new OperatorKey(scope,nig.getNextNodeId(scope)),
-1, sampleRate, heapPerc);
TezOperator prevOp = compiledInputs[0];
prevOp.plan.addAsLeaf(lrTez);
prevOp.plan.addAsLeaf(poSample);