Home >> Big Data Hadoop >> Pig Bag in Big Data Hadoop

Pig Bag in Big Data Hadoop

•A bag is an unordered set of tuples. In other words, a collection of tuples (non-unique) is known as a bag. Each tuple can have any number of fields (flexible schema).
•A bag is represented by ‘{}’. It is similar to a table in RDBMS, but unlike a table in RDBMS, it is not necessary that every tuple contain the same number of fields or that the fields in the same position (column) have the same type.
•Example − {(shyam, 30), (ram, 45)}

Post Your Comment

Next Questions
Pig Map
Pig Data types
Pig Complex types
Pig Relational Operations
Pig Shell Commands
Pig Register jar
Pig Diagnostic Operators
Pig Group Operator
Pig Join Operator
Pig Group Operators
Pig Cogroup Operator
Pig Built-in functions(EVAL)
Pig Built-in functions
Pig Load &Store Function
Sqoop Prerequisites
Sqoop Installation
Sqoop Topics
What is Sqoop
Sqoop architecture
Sqoop Eval
Sqoop import command
Sqoop import table with columns
Sqoop incremental import
Sqoop import all tables
Sqoop export command

Copyright ©2022 coderraj.com. All Rights Reserved.