hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-197) UDFToBoolean flipping values
Date Tue, 30 Dec 2008 21:24:44 GMT

    [ https://issues.apache.org/jira/browse/HIVE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659945#action_12659945
] 

Raghotham Murthy commented on HIVE-197:
---------------------------------------

+1

looks good.

> 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.


Mime
View raw message