I have master.txt which has 10K records, so each line of it will be a tuple & whole of the same needs to be passed to python UDF. Since it has multiple records, so on st
This can be done by adding a dummy column and then grouping.
dummmy= foreach p2preportmap generate 1, $0,$1 ....
grouped = group dummy by $0