Introduction to Apache Pig. Apache pig is a platform which provides to modes for analyzing datasets. One is local mode over local file system and other is over HDFS. Apache Pig consists of a high-level language called PigLatin which is a Query language.