Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Problem while using merge join


Copy link to this message
-
Problem while using merge join
Hi,

I try to use a merge join for 2 bags. Here is my pig code:
http://pastebin.com/Y9b2UtNk .

But I got this error:

Caused by:
org.apache.pig.backend.hadoop.executionengine.physicalLayer.LogicalToPhysicalTranslatorException:
ERROR 1103: Merge join/Cogroup only supports Filter, Foreach, Ascending
Sort, or Load as its predecessors. Found

I think the reason is that there is no sort function or something like
this. But the bags are definitely sorted. How can I do the merge join?

thanks
+
John 2013-09-13, 17:04
+
Pradeep Gollakota 2013-09-13, 17:41
+
John 2013-09-13, 17:58
+
John 2013-09-13, 18:34
+
Shahab Yunus 2013-09-13, 19:00
+
John 2013-09-13, 19:06
+
Pradeep Gollakota 2013-09-13, 20:16
+
John 2013-09-13, 20:51
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB