What is Flatten and what it do in PIG?
Answer / Gopal Ji
Flatten in Pig is a function that takes a nested data structure (array, tuple, map) as input and converts it into flat data structures (multiple rows with one column). This is particularly useful for processing complex data structures like JSON or XML. The FLATTEN operator allows you to access the elements of a nested data structure and perform operations on them.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are Pig Execution modes?
why should we use 'filters' in pig scripts?
What are the limitations of the Pig?
What Is Difference Between Mapreduce and Pig ?
What are the different types of UDF's in Java supported by Apache Pig?
What are the differences between PIG and SQL?
Why we use BloomMapFile?
How do users interact with HDFS in Apache Pig ?
Name the scalar data type and complex data types in Pig?
How should 'store' keyword is useful in pig scripts?
What are the different modes in which PIG can run and explain those?
List the diagnostic operators 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)