Someone posted the following post about adding unique row ids using
Hope that helps.
From: Edward Middleton [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 27, 2010 10:36 AM
To: [EMAIL PROTECTED]
Subject: adding an id to token sequence.
I have a sequence of uniq tokens and I would like to add a sequential
unique integer id to each token. I appreciate that this is going to be
difficult because mapping is likely to be performed in multiple tasks.
Is there a good way of doing this in pig?