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