PIG LATIN – OPERATORS

This post is about the operators in Apache Pig. Let’s take a quick look at what Pig and Pig Latin is and the different modes in which they can be operated, before heading on to Operators. What is Apache Pig? Apache Pig is a high-level procedural language for querying large data sets using Hadoop and […]

Pig Script in Local Mode

Pig Script in Local Mode Step1: Writing a Script Open an editor (e.g. gedit) in your Cloudera Demo VM environment. Write the following command to create ‘sample.pig’ file inside the home directory of cloudera user: Command:  gedit sample.pig Let’s write few PIG commands in the sample script! Let’s say our task is to read data from a […]