hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12328) Join On clause needs a semantic check to verify expression is boolean
Date Tue, 03 Nov 2015 22:18:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988269#comment-14988269
] 

Ashutosh Chauhan commented on HIVE-12328:
-----------------------------------------

I think ask is to do this check in compile phase that join condition is valid. Since, such
a check is absent in compile time, user is greeted with exception at runtime (as evident from
stacktrace).

> Join On clause needs  a semantic check to verify expression is boolean
> ----------------------------------------------------------------------
>
>                 Key: HIVE-12328
>                 URL: https://issues.apache.org/jira/browse/HIVE-12328
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 1.0.0, 1.2.1
>            Reporter: Thejas M Nair
>            Assignee: Pengcheng Xiong
>
> SQL join query fails at query runtime with a poor error message if the expression in
the on clause of join is not a boolean.
> Hive should give a proper error message at runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message