You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/11/19 15:57:00 UTC

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

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)

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

Posted by Zoltan Haindrich <ki...@rxd.hu>.
I'm sorry - I forgot to doublecheck the project combobox. I've closed it as invalid; and then Jesus have removed it. It's  running as HIVE-20940.

Zoltan

On 19 November 2018 20:42:32 CET, Julian Hyde <jh...@apache.org> wrote:
>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)
><ji...@apache.org> 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)

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

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

Posted by Julian Hyde <jh...@apache.org>.
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) <ji...@apache.org> 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)