ColumnPrunerProcCtx cppCtx = (ColumnPrunerProcCtx) ctx;
PTFOperator op = (PTFOperator) nd;
PTFDesc conf = op.getConf();
//Since we cannot know what columns will be needed by a PTF chain,
//we do not prune columns on PTFOperator for PTF chains.
if (!conf.forWindowing()) {
return super.process(nd, stack, cppCtx, nodeOutputs);
}
WindowTableFunctionDef def = (WindowTableFunctionDef) conf.getFuncDef();
ArrayList<ColumnInfo> sig = new ArrayList<ColumnInfo>();