List data models in Apache Pig?

Lokesh Joshi
Lokesh Joshi

Posted On: Jan 07, 2021

 

The four data models in Apache Pig are listed below:

  • Atom is an atomic data value that is used to store as a string.
  • The tuple is an ordered set of the fields.
  • The bag is a collection of tuples.
  • The map is a set of key/value pairs.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Apache Pig Interview Questions

    Explain what is Apache Pig?

    Apache Pig is a platform for creating programs that run on Apache Hadoop. It uses the Pig Latin language. It also executes its Hadoop jobs in MapReduce, Apache Tez, or Apache Spark....

    Apache Pig Interview Questions

    What is difference between Apache Pig and Hadoop?

    The difference between Apache Pig and Hadoop are as follows: Topics Apache Pig HadoopData Processing It is used to analyze large sets of data representing them as data flows. A...

    Apache Pig Interview Questions

    What is BloomMapFile in Apache Pig?

    BloomMapFile in Apache Pig is a class that is used to provide a quick membership test for the keys using dynamic bloom filters. It extends the MapFile class....