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

2011-04-25 Thread Marquis Wang (JIRA)

 [ 
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] [Updated] (HIVE-2131) Bitmap Operation UDF doesn't clear return list

2011-04-25 Thread Marquis Wang (JIRA)

 [ 
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


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

2011-04-25 Thread Marquis Wang (JIRA)

 [ 
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

2011-04-25 Thread John Sichi (JIRA)

 [ 
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