How can we merge these n part files(output file from pig operation). I have to merge these files into one and then use that as an input in hive. I tried using -cat and -getmerge but no luck. Any suggestion will be helpful.
Thanks
How can we merge these n part files(output file from pig operation). I have to merge these files into one and then use that as an input in hive. I tried using -cat and -getmerge but no luck. Any suggestion will be helpful.
Thanks
You can specify the file in the below manner
A = LOAD '/hdfs/OUTPUT/ReliableProducts-r-*' using PigStorage('\t') as (Sid:int,Sname:chararray,Ttrading:chararray,Sloc:chararray,OBal:int,CBal:int,Frate:int);
Hope this Helps!!!