What is a bag in pig?
Answer / Syed Safi Akbar Zaidi
"Bag" in Apache Pig is a collection that stores an ordered list of tuples. Unlike other collections such as Tuple, Map, and List, the individual elements of a Bag cannot be accessed directly.nnExample usage:n`bags = FOREACH input_data GENERATE bag(col1, col2);`
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you run pig scripts on kerberos secured cluster?
How do you organize the pig latin statements?
What are the various diagnostic operators available in Apache Pig?
Explain tokenize?
What is Flatten?
What is the use of illustrate in pig?
What is the relationship between hdfs, hbase, pig, hive and azkaban?
Give some points of pig for hadoop ?
How can we see only top 15 records from the student.txt out of100 records in the HDFS directory?
When we write a= load …, what does 'a' called?
is it posible to join multiple fields in pig scripts?
What is interactive mode in apache 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)