Requirement Assume that you want to load file (which have pipe(|) separated values) in pig and output of pig should be comma(,) delimited and should be stored in one directory.   Solution Please follow the below steps:- Step 1: Sample file Create a sample file named as sample_1.txt file. PutRead More →