You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marquis Wang (JIRA)" <ji...@apache.org> on 2011/04/25 12:02:05 UTC

[jira] [Created] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

Bitmap Operation UDF doesn't clear return list
----------------------------------------------

                 Key: HIVE-2131
                 URL: https://issues.apache.org/jira/browse/HIVE-2131
             Project: Hive
          Issue Type: Bug
            Reporter: Marquis Wang
            Assignee: Marquis Wang


The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

Marquis Wang updated HIVE-2131:
-------------------------------

    Attachment: HIVE-2131.2.patch

I've updated the udf_bitmap_and and udf_bitmap_or tests so that they would have detected the bug in the old code.

> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-2131.1.patch, HIVE-2131.2.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

Marquis Wang updated HIVE-2131:
-------------------------------

    Attachment: HIVE-2131.1.patch

Small patch that solves this problem.

> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-2131.1.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

John Sichi commented on HIVE-2131:
----------------------------------

Can you add a test case?

> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-2131.1.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

John Sichi commented on HIVE-2131:
----------------------------------

+1.  Will commit when tests pass.


> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-2131.1.patch, HIVE-2131.2.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

John Sichi updated HIVE-2131:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0
           Status: Resolved  (was: Patch Available)

Committed.  Thanks Marquis!


> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2131.1.patch, HIVE-2131.2.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

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

Marquis Wang updated HIVE-2131:
-------------------------------

    Status: Patch Available  (was: Open)

> Bitmap Operation UDF doesn't clear return list
> ----------------------------------------------
>
>                 Key: HIVE-2131
>                 URL: https://issues.apache.org/jira/browse/HIVE-2131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-2131.1.patch
>
>
> The AbstractGenericUDFEWAHBitmapBop.java does not clear the return list when evaluate() is called, causing each subsequent call to a bitmap operation to return the wrong values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira