Pig is a high-level language build by Yahoo! it provides an abstraction over map-reduce. by using Pig we can perform tasks easily with less code. it gives us high productivity, although not everything can be achieved by Pig itself.
Read ItApache Pig is a high-level platform for creating programs that run on Apache Hadoop. The language for this platform is called Pig Latin. Pig can execute its Hadoop jobs in MapReduce, Apache Tez, or Apache Spark.
Read It