[
https://issues.apache.org/jira/browse/PIG-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pradeep Kamath resolved PIG-641.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
This issue is fixed in current trunk since LocalLogToPhyTranslationVisitor
always translates LOJoin into POCogroup followed by foreach flatten regardless
of join type.
Here is a script I tried to validate:
[prade...@chargesize:~/dev/pig-apache/pig/trunk]cat a.txt
1 2 3
2 3 4
3 4 5
[prade...@chargesize:~/dev/pig-apache/pig/trunk]cat b.txt
3 a
1 x
4 b
[prade...@chargesize:~/dev/pig-apache/pig/trunk]cat c.txt
1 20 30
[prade...@chargesize:~/dev/pig-apache/pig/trunk]java -cp
/tmp/svncheckout/trunk/pig.jar org.apache.pig.Main -x local -e "a = load
'a.txt'; b = load 'b.txt'; c = load 'c.txt'; d = join a by \$0, b by \$0 using
\"replicated\"; dump d; e = join a by \$0, c by \$0 using \"replicated\"; dump
e;"
2009-09-11 15:27:54,852 [main] INFO org.apache.pig.Main - Logging error
messages to: /homes/pradeepk/dev/pig-apache/pig/trunk/pig_1252708074851.log
2009-09-11 15:27:55,217 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Successfully
stored result in: "file:/tmp/temp-1388892738/tmp1991974517"
2009-09-11 15:27:55,218 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Records written
: 2
2009-09-11 15:27:55,218 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Bytes written : 0
2009-09-11 15:27:55,218 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - 100% complete!
2009-09-11 15:27:55,218 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Success!!
(1,2,3,1,x)
(3,4,5,3,a)
2009-09-11 15:27:55,253 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Successfully
stored result in: "file:/tmp/temp-1388892738/tmp84396309"
2009-09-11 15:27:55,253 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Records written
: 1
2009-09-11 15:27:55,253 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Bytes written : 0
2009-09-11 15:27:55,254 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - 100% complete!
2009-09-11 15:27:55,254 [main] INFO
org.apache.pig.backend.local.executionengine.LocalPigLauncher - Success!!
(1,2,3,1,20,30)
[prade...@chargesize:~/dev/pig-apache/pig/trunk]
> Fragment replicate join does not work in local mode
> ---------------------------------------------------
>
> Key: PIG-641
> URL: https://issues.apache.org/jira/browse/PIG-641
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Shubham Chopra
> Fix For: 0.4.0
>
> Attachments: 641.patch, 641.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.