Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Hadoop Interview Questions
→
Hadoop Interview Questions for Experienced in Hadoop Interview Questions
→
How do you differentiate inner bag and outer bag i...
1.
How do you differentiate inner bag and outer bag in Pig.
Answer»
Inner Bag
OUTER
Bag
An inner bag just Contains a bag inside a tuple.
An outer bag which is also called a relation is
NOTHING
but a bag of
TUPLES
.
Example : (4,{(4,2,1),(4,3,3,)})
In this example the complete relation is an outer bag and {(4,2,1),(4,3,3,)} is an inner bag.
Example:{(park, New York),(Hollywood, Los Angeles)} Which is a bag of tuples, nothing but an outer bag.
An inner bag is a relation inside any other bag.
In an outer bag, relations are
SIMILAR
to relations in relational databases.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Mention the consequences of Distributed Applications.
Explain the architecture of Flume.
What is Apache Flume in Hadoop ?
What is the default File format to import data using Apache sqoop?
Where is table data stored in Apache Hive by default?
If the source data gets updated every now and then, how will you synchronize the data in HDFS that is imported by Sqoop?
How do you differentiate inner bag and outer bag in Pig.
Why do we need to perform partitioning in Hive?
Are Multiline Comments supported in Hive? Why?
Compare differences between Local Metastore and Remote Metastore
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies