Pig tutorials

Load timestamp values from file into pig
 Requirement Assume that you want to load a file having timestamp values (yyyy-MM-dd HH:mm:ss) into pig. After loading into pig
Read more.
Java UDF to convert String to date in PIG
About Code Many times it happens like you have received data from many systems and each system operates on a
Read more.
Load csv file in pig
Requirement Assume that you want to load CSV file in pig and output of pig should be pipe delimited and
Read more.
Join in pig
Requirement You have two table named as A and B. and you want to perform all types of join in
Read more.
Calculate percentage using pig
Requirement You have marks of all the students of a class with roll number in CSV file, It is needed
Read more.
Load xml file in pig
Requirement Assume you have the XML file which is transferred to your local system by some other application. The file
Read more.
Load tsv file in pig
Requirement Assume that you want to load TSV(tab separated values) file in pig and output of pig should be pipe
Read more.
Load pipe delimited file in pig
Requirement Assume that you want to load file (which have pipe(|) separated values) in pig and output of pig should
Read more.
Filter records in pig
Requirement: In source data, you have user’s information of mobile connection type and Id.You have four type of possible connection
Read more.
Pass variables from shell script to pig script
Requirement You have one Pig script which is expecting some variables which need to be passed from a shell script.Say
Read more.