pig tutorial - apache pig tutorial - Apache Pig - Load & Store Functions - pig latin - apache pig - pig hadoop




What is Load & Store Functions in Apache Pig ?

  • 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
S.no Syntax Function & Description
1 A = LOAD ‘student’ USING PigStorage(‘\t’)
AS (name: chararray, age:int, gpa: float);
PigStorage()To load and store structured files.
2 A = LOAD ‘data’ USING TextLoader(); TextLoader()To load unstructured data into Pig.
3 A = LOAD ‘data’ USING BinStorage(); BinStorage()To load and store data into Pig using machine readable format.
4 A = load ‘myinput.gz’;store A into ‘myoutput.gz’; Handling CompressionIn Pig Latin, we can load and store compressed data.

Related Searches to Apache Pig - Load & Store Functions

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×