Requirement You have one table in hive, and it is needed to process the data of that hive table using pig.To load data directly from file we generally use PigStorage(),but to load data from hive table we need different loading function. Let’s go into detail step by step. Solution StepRead More →

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 →

Requirement Assume that you want to load TSV(tab separated values) file in pig and output of pig should be pipe delimited and should be stored in one directory. Solution Please follow the below steps:- Step 1: Sample TSV file Create a sample TSV file named as sample_1.tsv file. Put contentRead More →

Requirement Assume that you want to load CSV file in pig and output of pig should be pipe delimited and should be stored in one directory. Solution Please follow the below steps:- Step 1: Sample CSV file Create a sample CSV file named as sample_1.csv file. Put content in thatRead More →