[ 
https://issues.apache.org/jira/browse/CALCITE-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiong duan reassigned CALCITE-7025:
-----------------------------------

    Assignee: xiong duan

> Verifying the Quantify operator without compatible types, should throw an 
> exception about the Quantify Operator
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-7025
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7025
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: xiong duan
>            Assignee: xiong duan
>            Priority: Major
>
> Unit tests in dummy.iq:
> {code:java}
> !use post
> select 1.0 = some (ARRAY[1,2,null]);
> Values passed to IN operator must have compatible types
> !error
> select * from emp where cast(true as boolean) > some(select deptno from dept 
> where false);
> Values passed to IN operator must have compatible types
> !error
> select cast(true as boolean) = some (1,2,CAST(null as INTEGER));
> Values passed to IN operator must have compatible types
> !error {code}
> The current exception is about the IN operator.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to