[
https://issues.apache.org/jira/browse/HIVE-20940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich reopened HIVE-20940:
-------------------------------------
reopeneing as else branches are not covered...will submit it for ptest and
commit it if it looks good
> 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
> Fix For: 4.0.0
>
> 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, 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)