Ariel M created HIVE-3604:
-----------------------------
Summary: Casting strings to booleans gives unexpected result
Key: HIVE-3604
URL: https://issues.apache.org/jira/browse/HIVE-3604
Project: Hive
Issue Type: Bug
Components: UDF
Affects Versions: 0.8.1
Environment: Amazon EMR
Reporter: Ariel M
I would expect the following query to return false in both columns:
select 'false', cast('false' as boolean) from example_table limit 1;
but here are the actual results:
Total MapReduce CPU Time Spent: X seconds X msec
OK
false true
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira