presto-main/src/main/java/io/prestosql/operator/window/RowNumberFunction.java/RowNumberFunction/processRow
class RowNumberFunction:    @Override
    public void processRow(BlockBuilder output, boolean newPeerGroup, int peerGroupCount, int currentPosition)
    {
        BIGINT.writeLong(output, currentPosition + 1);
    }