Pig Architecture

The language used to analyze data in Hadoop using Pig is known as Pig Latin.

https://s0.wailian.download/2019/06/04/apache_pig_architecture-min.pngapache_pig_architecture-min

Pig Components

  • Parser
  • Optimizer
  • Compiler
  • Execution engine

Pig Latin Data Model

https://s0.wailian.download/2019/06/04/data_model-min.pngdata_model-min

  • Atom
  • Tuple
  • Bag
  • Map
  • Relation