Showing posts with the label PIG

Word Count Example - Pig Script

Q) How to find the number of occurrences of the words in a file using the pig script? You can find the famous word count example written ...

How to Filter Records - Pig Tutorial Examples

Pig allows you to remove unwanted records based on a condition. The Filter functionality is similar to the WHERE clause in SQL. The FILTER ...

Creating Schema, Reading and Writing Data - Pig Tutorial

The first step in processing a data set using pig is to define a schema for the data set. A schema is a representation of the data set in t...

Pig Data Types - Primitive and Complex

Pig has a very limited set of data types. Pig data types are classified into two types. They are: Primitive Complex

Relations, Bags, Tuples, Fields - Pig Tutorial

In this article, we will see what is a relation, bag, tuple and field. Let see each one of these in detail. Lets consider the following p...

How to Run Pig Programs - Examples

Pig programs can be run in three methods which work in both local and MapReduce mode. They are Script Mode Grunt Mode Embedded Mode ...

Hadoop Pig Overview - Installation, Configuration in Local and MapReduce Mode

Pig is a data flow language which is built on top of hadoop. Pig is a series of transformations which are applied on the input data to prod...

Load More That is All