osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [jira] [Created] (CALCITE-2685) Bridge cases in which Calcite's type resolution is more stricter than Hive.


Zoltan,

I can’t see this issue when I click on the link. Did you delete it, or make it private?

Julian


> On Nov 19, 2018, at 7:57 AM, Zoltan Haindrich (JIRA) <jira@xxxxxxxxxx> wrote:
> 
> Zoltan Haindrich created CALCITE-2685:
> -----------------------------------------
> 
>             Summary: Bridge cases in which Calcite's type resolution is more stricter than Hive.
>                 Key: CALCITE-2685
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2685
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
> 
> 
> 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}
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)