[
https://issues.apache.org/jira/browse/HIVE-15408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich updated HIVE-15408:
------------------------------------
Attachment: HIVE-15408.05.patch
> Support auto-casting non-boolean where condition into boolean
> -------------------------------------------------------------
>
> Key: HIVE-15408
> URL: https://issues.apache.org/jira/browse/HIVE-15408
> Project: Hive
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Minor
> Attachments: HIVE-15408.01.patch, HIVE-15408.02.patch,
> HIVE-15408.03.patch, HIVE-15408.04.patch, HIVE-15408.05.patch
>
>
> Hive should support
> {code}
> select 1 where 1
> {code}
> currently it throws an execption (at least with mr)...complaining about
> Integer / Boolean casting difficulties.
> Current behaviour is a bit inconsistent; because using tez / vectorization
> this is supported.
> related tickets:
> HIVE-15089
> HIVE-1478
> HIVE-13659
--
This message was sent by Atlassian Jira
(v8.3.2#803003)