Delimters in pig or python


3 Answer(s)


Hi Sirajuddin,

STORE result INTO 'myoutput' using PigStorage('\t');

Just changing the default delimiter will do the job.

Hope this helps.

Thanks.


No, there is no delimiter at all., if u copy paste the problem to a txt file., you will see there is no 'tab'


Hi Sirajuddin,

The delimiter like '\n' or '\t' is not visible in the text file. Those are used to define tab and line end in the programming code.

You have to add the delimiter while storing the file not while loading the file. So, you have to add the delimiters.

Hope this helps.

Thanks.