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

2018-11-19 Thread Zoltan Haindrich (JIRA)
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.

2018-11-19 Thread Julian Hyde
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)  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)



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

2018-11-19 Thread Zoltan Haindrich
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  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)
> 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.