Apache Pig - Load & Store Functions


The Load and Store functions in Apache Pig are used to determine how the data goes ad comes out of Pig. These functions are used with the load and store operators. Given below is the list of load and store functions available in Pig.

S.N. Function & Description
1 PigStorage()

To load and store structured files.

2 TextLoader()

To load unstructured data into Pig.

3 BinStorage()

To load and store data into Pig using machine readable format.

4 Handling Compression

In Pig Latin, we can load and store compressed data.