You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/01/05 00:20:46 UTC
[jira] Created: (PIG-1785) New logical plan: uid conflict in
flattened fields
New logical plan: uid conflict in flattened fields
--------------------------------------------------
Key: PIG-1785
URL: https://issues.apache.org/jira/browse/PIG-1785
Project: Pig
Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Daniel Dai
Assignee: Daniel Dai
Fix For: 0.8.0
The following script produce wrong result:
{code}
a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
c = filter b by b0>b2;
dump c;
{code}
1.txt:
{(1,2),(2,3)}
Expected result:
(2,3,1,2)
We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIG-1785) New logical plan: uid conflict in
flattened fields
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-1785.
-----------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
All tests pass as in review notes. Patch committed to both trunk and 0.8 branch.
> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
> Key: PIG-1785
> URL: https://issues.apache.org/jira/browse/PIG-1785
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1785-1.patch, PIG-1785-2.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1785) New logical plan: uid conflict in
flattened fields
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1785:
----------------------------
Attachment: PIG-1785-2.patch
PIG-1785-2.patch fix unit test failures.
> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
> Key: PIG-1785
> URL: https://issues.apache.org/jira/browse/PIG-1785
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1785-1.patch, PIG-1785-2.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1785) New logical plan: uid conflict in
flattened fields
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1785:
----------------------------
Attachment: PIG-1785-1.patch
> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
> Key: PIG-1785
> URL: https://issues.apache.org/jira/browse/PIG-1785
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1785-1.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1785) New logical plan: uid conflict in
flattened fields
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980505#action_12980505 ]
Xuefu Zhang commented on PIG-1785:
----------------------------------
+1
Please commit when test passes.
> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
> Key: PIG-1785
> URL: https://issues.apache.org/jira/browse/PIG-1785
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1785-1.patch, PIG-1785-2.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1785) New logical plan: uid conflict in
flattened fields
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979712#action_12979712 ]
Daniel Dai commented on PIG-1785:
---------------------------------
Review request: https://reviews.apache.org/r/269/
> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
> Key: PIG-1785
> URL: https://issues.apache.org/jira/browse/PIG-1785
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1785-1.patch, PIG-1785-2.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.