You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/07/30 01:47:14 UTC

[jira] Created: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

Fix serialization bug in BinarySortableSerDe for negative double and float numbers
----------------------------------------------------------------------------------

                 Key: HIVE-710
                 URL: https://issues.apache.org/jira/browse/HIVE-710
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Zheng Shao
            Priority: Blocker


There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.


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


[jira] Updated: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Zheng Shao updated HIVE-710:
----------------------------

    Attachment: HIVE-710.2.patch

Incorporated Prasad's comment.

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch, HIVE-710.2.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Updated: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Zheng Shao updated HIVE-710:
----------------------------

    Attachment:     (was: HIVE-710.1.patch)

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Commented: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736932#action_12736932 ] 

Prasad Chakka commented on HIVE-710:
------------------------------------

+1 running tests..

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch, HIVE-710.2.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Updated: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Zheng Shao updated HIVE-710:
----------------------------

    Attachment: HIVE-710.1.patch

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Updated: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Zheng Shao updated HIVE-710:
----------------------------

    Attachment: HIVE-710.1.patch

This patch fixes the problem.

I also changed the test a bit to try both negative/positive float/double. Negative integers are already tested.


> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Updated: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Carl Steinbach updated HIVE-710:
--------------------------------

    Fix Version/s: 0.4.0

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: HIVE-710.1.patch, HIVE-710.2.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Commented: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736926#action_12736926 ] 

Prasad Chakka commented on HIVE-710:
------------------------------------

why not use ~ to flip bits?

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Resolved: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Prasad Chakka resolved HIVE-710.
--------------------------------

    Resolution: Fixed

Merged into revision 799148. Thanks Zheng.

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch, HIVE-710.2.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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


[jira] Assigned: (HIVE-710) Fix serialization bug in BinarySortableSerDe for negative double and float numbers

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

Zheng Shao reassigned HIVE-710:
-------------------------------

    Assignee: Zheng Shao

> Fix serialization bug in BinarySortableSerDe for negative double and float numbers
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-710
>                 URL: https://issues.apache.org/jira/browse/HIVE-710
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>         Attachments: HIVE-710.1.patch
>
>
> There is a bug in the serialization/deserialization code of BinarySortableSerDe that causes problems in dealing with negative float/double numbers.

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