xiong duan created CALCITE-7025:
-----------------------------------

             Summary: Validating the Quantify Operator, which doesn’t have 
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


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