You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "xiong duan (Jira)" <ji...@apache.org> on 2025/05/17 10:11:00 UTC
[jira] [Updated] (CALCITE-7025) Verifying the Quantify operator without compatible types, should throw an exception about the Quantify Operator
[ https://issues.apache.org/jira/browse/CALCITE-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xiong duan updated CALCITE-7025:
--------------------------------
Summary: Verifying the Quantify operator without compatible types, should throw an exception about the Quantify Operator (was: Validating the Quantify Operator, which doesn’t have compatible types, should throw an exception about the Quantify Operator)
> 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
> 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)