What do you understand by an inner bag and outer bag in Pig

0 votes
Can you help me with this differentiation?
Feb 21, 2019 in Big Data Hadoop by Neha
• 6,300 points
1,268 views

1 answer to this question.

0 votes

Outer bag or relation is nothing but a bag of tuples. Here relations are similar as relations in relational databases. For example:

{(Linkin Park, California), (Metallica, Los Angeles), (Mega Death, Los Angeles)}

An inner bag contains a bag inside a tuple. For Example:

(Los Angeles, {(Metallica, Los Angeles), (Mega Death, Los Angeles)})

(California, {(Linkin Park, California)})

answered Feb 21, 2019 by Frankie
• 9,830 points

Related Questions In Big Data Hadoop

0 votes
1 answer

What do you mean by Bag in Pig?

Hey, Bag in Apache Pig is nothing but ...READ MORE

answered May 3, 2019 in Big Data Hadoop by Gitika
• 65,910 points
1,188 views
0 votes
1 answer

What do you understand by Filters in Hbase?

 Hey, Basically,  by allowing users to add limiting ...READ MORE

answered May 22, 2019 in Big Data Hadoop by Gitika
• 65,910 points
643 views
0 votes
1 answer

Pig: Difference between inner bag and outer bag

Outer Bag: An outer bag is nothing but ...READ MORE

answered Jul 16, 2019 in Big Data Hadoop by Firoz
2,149 views
0 votes
1 answer

What do we exactly mean by “Hadoop” – the definition of Hadoop?

The official definition of Apache Hadoop given ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by Shubham
1,634 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,618 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,215 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,938 views
0 votes
1 answer

What is Modeling data in Hadoop and how to do it?

I suggest spending some time with Apache ...READ MORE

answered Sep 19, 2018 in Big Data Hadoop by Frankie
• 9,830 points
1,573 views
0 votes
1 answer

What are the different relational operations in “Pig Latin” you worked with?

Different relational operators are: for each order by fil ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Frankie
• 9,830 points
616 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP