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
In Hive:
Query
select str_id,row_number() over() from tabledata;
Output
3D64B18BC842 1 BAECEFA8EFB6 2 346B13E4E240 3 6D8A9D0249B4 4 9FD024AA52BA 5