I have a problem when adding row numbers using Apache Pig. The problem is that I have a STR_ID column and I want to add a ROW_NUM column for the data in STR_ID, which is the
Pig 0.11 introduced a RANK operator that can be used for this purpose.