[ 
https://issues.apache.org/jira/browse/HIVE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zheng Shao updated HIVE-197:
----------------------------

      Resolution: Fixed
    Release Note: HIVE-197. Fixed UDFToBoolean.
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed revision 730266.

> UDFToBoolean flipping values
> ----------------------------
>
>                 Key: HIVE-197
>                 URL: https://issues.apache.org/jira/browse/HIVE-197
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Raghotham Murthy
>            Assignee: Zheng Shao
>             Fix For: 0.2.0
>
>         Attachments: HIVE-197-1.patch, HIVE-197-2.patch
>
>
> UDFToBoolean should do
> return Boolean.valueOf(i.byteValue() != 0)
> Instead of
> return Boolean.valueOf(i.byteValue() == 0)
> Same for all other types.

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

Reply via email to