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

Teddy Choi updated HIVE-15939:
------------------------------
    Attachment: HIVE-15939.1.patch

I modified UDFToBoolean to recognize 'true' and 'false' without case 
sensitivity. I also created vectorized UDFs.

> Make cast expressions comply more to sql2011
> --------------------------------------------
>
>                 Key: HIVE-15939
>                 URL: https://issues.apache.org/jira/browse/HIVE-15939
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Zoltan Haindrich
>            Assignee: Teddy Choi
>         Attachments: HIVE-15939.1.patch
>
>
> in HIVE-6590 Jason have uncovered the fact that UDFToBoolean treats all 
> non-empty strings as true.
> It would be great to have the cast expressions closer to the standard...at 
> least when there is an expected behaviour from the user;
> like {{cast('false' as boolean)}} should be true.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to