You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2008/07/17 21:55:31 UTC

[jira] Updated: (PIG-308) Flatten is not being set to true in joins

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

Alan Gates updated PIG-308:
---------------------------

    Attachment: join.patch

The issue was not flatten being set.  That was done properly.  The issue was that in rewriting the join to the cogroup the parser was incorrectly connecting the resulting foreach to the load instead of the cogroup, and it was incorrectly setting the projects to star instead of two the appropriate columns.

> Flatten is not being set to true in joins
> -----------------------------------------
>
>                 Key: PIG-308
>                 URL: https://issues.apache.org/jira/browse/PIG-308
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Alan Gates
>             Fix For: types_branch
>
>         Attachments: join.patch
>
>
> Queries that use the JOIN keyword are returning incorrect results because the flatten values are not being set to true for the foreach that is put after the cogroup.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.