PIG Commands

PIG:

  • PIG Commands have to be executed in Grunt Shell.
  • We can put multiple PIG Commands in a file line by line and save it with .pig extension which is generally called PIG Script.
  • The PIG Script can be executed using scheduler also.
  • PIG Commands are similar to SQL Commands.

Data Types:

Integer (java.lang.Integer), Float (java.lang.Float), Double (java.lang.Double), chararray (java.lang.String), Atom (Field) , Tuple (Series of Fields), Bag (Series of Tuples), Map (Key Value Pair)

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s