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-20940) Bridge cases in which Calcite's type resolution is more stricter than Hive.
Date Tue, 20 Nov 2018 15:59:00 GMT

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

Ashutosh Chauhan commented on HIVE-20940:
-----------------------------------------

+1

> Bridge cases in which Calcite's type resolution is more stricter than Hive.
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-20940
>                 URL: https://issues.apache.org/jira/browse/HIVE-20940
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-20940.01.patch, HIVE-20940.01.patch, HIVE-20940.02.patch, HIVE-20940.03.patch,
HIVE-20940.04.patch, HIVE-20940.04.patch
>
>
> Calcite is more stricter w.r.t common types than Hive.
> For example in case a CASE with different types on the branches is not something Calcite
likes:
> {code}
> CASE
>   WHEN cond1 THEN booleanCol
>   WHEN cond2 THEN stringCol
>   WHEN cond3 THEN floatCol
>   ELSE doubleCol
> END
> {code}
> issues will only happen with 1.18-SNAPSHOT version



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message