You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/04/28 01:20:52 UTC

[jira] [Updated] (PIG-2673) Allow Merge join to follow an ORDER statement

     [ https://issues.apache.org/jira/browse/PIG-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy V. Ryaboy updated PIG-2673:
-----------------------------------

    Attachment: PIG-2673_0.patch

Attaching patch that relaxes the sanity checks and updates the documentation.

Note that while working on this patch I discovered we never enforced a stated condition for the merge join, which is that you cannot call UDFs on the data between a load and a merge join. This is also fixed in this patch. This fix may break people's script in cases when they were using UDFs and unwittingly violating the documented constraint.
                
> Allow Merge join to follow an ORDER statement
> ---------------------------------------------
>
>                 Key: PIG-2673
>                 URL: https://issues.apache.org/jira/browse/PIG-2673
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>         Attachments: PIG-2673_0.patch
>
>
> Currently, we insist that data for a merge join must come from an OrderedLoadFunc.
> We can relax this condition and allow explicit ordering operations to precede a MergeJoin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira