Bag in pig ?
Answer / Poonam Chaubey
A bag in Apache Pig represents an ordered collection of tuples. Each tuple in a bag can have different schema, making it suitable for handling heterogeneous data. Bags are useful when you want to aggregate data that may not fit the same schema.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a tuple in pig?
How does pig work?
What are the various diagnostic operators available in Apache Pig?
What are the relational operators available related to combining and splitting in pig language?
What is a map in pig?
Explain the need for MapReduce while programming in Apache Pig?
What does FOREACH do?
What are the complex datatypes in pig?
What co-group does in Pig?
You have a file personal_data.txt in the HDFS directory with 100 records. You want to see only the first 5 records from the employee.txt file. How will you do this?
Why there is need of pig language?
What is UDF in Pig?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)