You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2012/07/26 18:55:35 UTC
[jira] [Created] (PIG-2839) mock.Storage overwrites output with the
last relation written when storing UNION
Julien Le Dem created PIG-2839:
----------------------------------
Summary: mock.Storage overwrites output with the last relation written when storing UNION
Key: PIG-2839
URL: https://issues.apache.org/jira/browse/PIG-2839
Project: Pig
Issue Type: Bug
Reporter: Julien Le Dem
Assignee: Julien Le Dem
--
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
[jira] [Updated] (PIG-2839) mock.Storage overwrites output with the
last relation written when storing UNION
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Le Dem updated PIG-2839:
-------------------------------
Attachment: PIG-2839.patch
Attaching a test reproducing the bug
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Attachments: PIG-2839.patch
>
>
--
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
[jira] [Commented] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424220#comment-13424220 ]
Julien Le Dem commented on PIG-2839:
------------------------------------
The mock.Storage now enforces that you don't overwrite data.
Which this test is doing.
I'll provide a patch.
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Fix For: 0.11
>
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Commented] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Koji Noguchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424167#comment-13424167 ]
Koji Noguchi commented on PIG-2839:
-----------------------------------
I'm seeing two unit tests failing that use mock.Storage. Can this be related?
org.apache.pig.test.TestBuiltInBagToTupleOrString.testPigScriptrForBagToStringUDF
{noformat}
junit.framework.AssertionFailedError: expected:<(a==b==c)> but was:<({(a),(b),(c)})>
at org.apache.pig.test.TestBuiltInBagToTupleOrString.testPigScriptrForBagToStringUDF(TestBuiltInBagToTupleOrString.java:507)
{noformat}
org.apache.pig.test.TestBuiltInBagToTupleOrString.testPigScriptMultipleElmementsPerTupleForBagToStringUDF
{noformat}
junit.framework.AssertionFailedError: expected:<(a^b^c^d^e^f)> but was:<({(a,b),(c,d),(e,f)})>
at org.apache.pig.test.TestBuiltInBagToTupleOrString.testPigScriptMultipleElmementsPerTupleForBagToStringUDF(TestBuiltInBagToTupleOrString.java:528)
{noformat}
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Fix For: 0.11
>
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Updated] (PIG-2839) mock.Storage overwrites output with the
last relation written when storing UNION
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Le Dem updated PIG-2839:
-------------------------------
Attachment: PIG-2839_a.patch
PIG-2839_a.patch fixes the bug
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Commented] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Aneesh Sharma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423479#comment-13423479 ]
Aneesh Sharma commented on PIG-2839:
------------------------------------
Thanks, Julien!!
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Fix For: 0.11
>
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Commented] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424222#comment-13424222 ]
Julien Le Dem commented on PIG-2839:
------------------------------------
see: https://issues.apache.org/jira/browse/PIG-2848
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Fix For: 0.11
>
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Commented] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Jonathan Coveney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423360#comment-13423360 ]
Jonathan Coveney commented on PIG-2839:
---------------------------------------
+1 assuming test-commit passes (since that depends on it)
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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
[jira] [Resolved] (PIG-2839) mock.Storage overwrites output with
the last relation written when storing UNION
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Le Dem resolved PIG-2839.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.11
> mock.Storage overwrites output with the last relation written when storing UNION
> --------------------------------------------------------------------------------
>
> Key: PIG-2839
> URL: https://issues.apache.org/jira/browse/PIG-2839
> Project: Pig
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Julien Le Dem
> Fix For: 0.11
>
> Attachments: PIG-2839.patch, PIG-2839_a.patch
>
>
--
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