I have a big data about 10T ,I want to add column number to every column from 1
to COUNT(my data),,I use two functions in
http://stackoverflow.com/questions/9288578/how-can-i-add-row-numbers-for-rows-in-pig-or-hive
and http://www.aiuxian.com/article/p-139530.html
but I always get many files. every file column number is from 0 to ......
perhaps there are many reduces. I dont know how to add column number from 1
to COUNT(my data)?
thank you ,give me some advice or some one can give me some advice websites?
thank you very much.