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

Zhen Chen resolved CALCITE-7359.
--------------------------------
    Fix Version/s: 1.42.0
         Assignee: Zhen Chen
       Resolution: Fixed

Fixed in 
[{{79de3a6}}|https://github.com/apache/calcite/commit/79de3a64bff8c79589bf7d16ff9f32124643eb67]

Thanks for review [~mbudiu] 

 

> Incorrect result for array comparison with ANY operator
> -------------------------------------------------------
>
>                 Key: CALCITE-7359
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7359
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Zhen Chen
>            Assignee: Zhen Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> We can execute the following SQL in the quidem test and get a *false false* 
> result, which should observe as {*}true false{*}. Although duckdb and pgsql 
> do not support this syntax (they will throw an error during parsing), the 
> *false false* result returned by calcite is still unacceptable.
> {code:java}
> select 
> array[1,2,3]=any(array[1,2,3],array[4,2,3]),array[1,2,3]=any(array[1,3],array[4,2,3]);
> EXPR$0, EXPR$1
> false, false
> !ok {code}



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

Reply via email to