How will you merge the contents of two or more relations and divide a single relation into two or more relations?
Answer / Mahesh Kumar Patairiya
In Pig, the UNION operator is used to merge the contents of two or more relations. To divide a single relation into two or more relations, you can use the DISTINCT, FILTER, or JOIN operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does Pig differ from MapReduce? If yes, how?
The difference between GROUP and COGROUP operators in Pig?
Is piglatin a strongly typed language? If yes, then how did you come to the conclusion?
How can you debug a pig script?
What are the common hadoop PIG interview questions, that you have been asked in a Hadoop Job Interview?
What is the use of having Filters in Apache Pig ?
What are the relational operators available related to Grouping and joining in Pig language?
What is a skewed join?
Write a Pig UDF Example ?
What is Pig Statistics? What are all stats classes in the Java API package available?
Explain different execution modes available in Pig?
Explain about the different complex data types 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)