Here are some of the advantages of Apache Pig: ease of programming, behind-the-scenes code optimization, and extensibility of capabilities. Please discuss each of the advantages in more detail and use an example for at least one of them.
Note:
1. Minimum 250 words.
2. In-text citations and references in APA format.