Apache Pig TutorialPig tutorial provides basic and advanced concepts of Pig. Our Pig tutorial is designed for beginners and professionals. Pig is a high-level data flow platform for executing Map Reduce programs of Hadoop. It was developed by Yahoo. The language for Pig is pig Latin. Our Pig tutorial includes all topics of Apache Pig with Pig usage, Pig Installation, Pig Run Modes, Pig Latin concepts, Pig Data Types, Pig example, Pig user defined functions etc. What is Apache PigApache Pig is a high-level data flow platform for executing MapReduce programs of Hadoop. The language used for Pig is Pig Latin. The Pig scripts get internally converted to Map Reduce jobs and get executed on data stored in HDFS. Apart from that, Pig can also execute its job in Apache Tez or Apache Spark. Pig can handle any type of data, i.e., structured, semi-structured or unstructured and stores the corresponding results into Hadoop Data File System. Every task which can be achieved using PIG can also be achieved using java used in MapReduce. Features of Apache PigLet's see the various uses of Pig technology. 1) Ease of programmingWriting complex java programs for map reduce is quite tough for non-programmers. Pig makes this process easy. In the Pig, the queries are converted to MapReduce internally. 2) Optimization opportunitiesIt is how tasks are encoded permits the system to optimize their execution automatically, allowing the user to focus on semantics rather than efficiency. 3) ExtensibilityA user-defined function is written in which the user can write their logic to execute over the data set. 4) FlexibleIt can easily handle structured as well as unstructured data. 5) In-built operatorsIt contains various type of operators such as sort, filter and joins. Differences between Apache MapReduce and PIG
Advantages of Apache Pig
PrerequisiteBefore learning Pig, you must have the basic knowledge of Hadoop. AudienceOur Pig tutorial is designed to help beginners and professionals. ProblemWe assure that you will not find any problem in this Pig tutorial. But if there is any mistake, please post the problem in the contact form.
Next TopicPig Installation
|