I have below file tax_cal
I want to load in pig:
101,5|2;3|2
102,3|1;4.5|2;4|1
103,2|1;5|2;5.6|3
output:
101,5|2,3|2
102,3|1,4.5|2,4|1
103,2|1,5|2,5.6|3
Further, I will pass this output file to a python UDF to calculate totalprice.
How can I accomplish this?