public Object getGroupResult(){
    return rowNumber;
  }
This class evaluates row_number() for a PTF group.

Row number starts at 1; stream row number to output column for each row and increment.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/ptf/VectorPTFEvaluatorRowNumber.java