You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yan Zhou (JIRA)" <ji...@apache.org> on 2010/09/30 20:25:32 UTC

[jira] Created: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

ORDER BY does not work properly on integer/short keys that are -1
-----------------------------------------------------------------

                 Key: PIG-1658
                 URL: https://issues.apache.org/jira/browse/PIG-1658
             Project: Pig
          Issue Type: Bug
            Reporter: Yan Zhou


In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.

Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Updated: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1658:
--------------------------

    Status: Patch Available  (was: Open)

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1658.patch
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Commented: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917014#action_12917014 ] 

Thejas M Nair commented on PIG-1658:
------------------------------------

Looks good . +1


> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1658.patch, PIG-1658.patch
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Assigned: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou reassigned PIG-1658:
-----------------------------

    Assignee: Yan Zhou

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Updated: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1658:
--------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Committed to both trunk and the 0.8 branch.

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1658.patch, PIG-1658.patch
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Updated: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1658:
--------------------------

    Attachment: PIG-1658.patch

Add Zebra test TestMergeJoinPartial to the "pigtest" target.

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1658.patch, PIG-1658.patch
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Updated: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1658:
--------------------------

    Attachment: PIG-1658.patch

This problem is caused by the PIG-1295 patch.

test-core pass. Zebra's nightly pass too.

test-patch output:

     [exec] -1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     -1 tests included.  The patch doesn't appear to include any new or modified tests.
     [exec]                         Please justify why no tests are needed for this patch.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.

Zebra's TestMergeJoinPartial is used to verify the fix.

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1658.patch
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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


[jira] Updated: (PIG-1658) ORDER BY does not work properly on integer/short keys that are -1

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1658:
--------------------------

        Fix Version/s: 0.8.0
    Affects Version/s: 0.8.0

> ORDER BY does not work properly on integer/short keys that are -1
> -----------------------------------------------------------------
>
>                 Key: PIG-1658
>                 URL: https://issues.apache.org/jira/browse/PIG-1658
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>
> In fact, all these types of keys of values that are negative but within the byte or short's range would have the problem.
> Basic cally, a byte value of -1 & 0xff will return 255 not -1.

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