Quantcast
Channel: Simplilearn Community
Viewing all articles
Browse latest Browse all 50081

How to do selective data processing in PIG?

$
0
0
Hi,

I have a text data file, and i need to load only lines 10 to line 20 into a relation in PIG for further processing.
These lines do not have field in common to use FILTER feature of PIG.
Can you please tell me how it is done?
I have tried out writing a UDF but, i am not able to figure out the logic to choose only these specific lines.

Many Thanks for your help.

Please reply at the earliest.

Best Regards,
Ashwin Hosbett

Viewing all articles
Browse latest Browse all 50081

Trending Articles