You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/07/23 20:01:09 UTC
[jira] Updated: (HIVE-197) UDFToBoolean flipping values
[ https://issues.apache.org/jira/browse/HIVE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-197:
--------------------------------
Fix Version/s: 0.3.0
(was: 0.6.0)
> 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.3.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.