// set input
po.setInput(input);
// set dop
po.setDegreeOfParallelism(this.getParallelism());
SingleInputSemanticProperties props = new SingleInputSemanticProperties();
for (int i = 0; i < logicalKeyPositions.length; i++) {
int keyField = logicalKeyPositions[i];
boolean keyFieldUsedInAgg = false;
for (int k = 0; k < fields.length; k++) {
int aggField = fields[k];
if (keyField == aggField) {
keyFieldUsedInAgg = true;
break;
}
}
if (!keyFieldUsedInAgg) {
props.addForwardedField(keyField, keyField);
}
}
po.setSemanticProperties(props);