I am trying to load a tsv file using PigStorage
input_data = load 'input.tsv' using PigStorage('\t','-schema');
This loads the tsv file as per the .pig_schema file present in the input folder.
Is there any way to load the schema from a custom path? For ex, say I have the schema saved in a different directory and a different name (not.pig_schema) than the directory where input file is located.
Prashant Kommireddi 2013-09-26, 08:16
Siddhi Borkar 2013-10-03, 03:39