I want some sort of unique identifier/line_number/counter to be generated/appended in my foreach construct while iterates through the records. Is there a way to accomplish this without writing a UDF?
B = foreach A generate a_unique_id, field1,...etc
How do I get that 'a_unique_id' implemented?
Thanks!