You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Caican Cai (Jira)" <ji...@apache.org> on 2024/07/06 07:34:00 UTC

[jira] [Updated] (CALCITE-6457) The ARRAY_CONTAINS function wrongly returns false when arrayComponentType and op1 type are different

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

Caican Cai updated CALCITE-6457:
--------------------------------
    Summary: The ARRAY_CONTAINS function wrongly returns false  when arrayComponentType and op1 type are different  (was: The ARRAY_CONTAINS function return false  when arrayComponentType and op1 type are different)

> The ARRAY_CONTAINS function wrongly returns false  when arrayComponentType and op1 type are different
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-6457
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6457
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.37.0
>            Reporter: Caican Cai
>            Priority: Major
>              Labels: pull-request-available
>
> In Spark, array_contains(array(1.0, 2), 1) returns true because Spark converts array and op1 types to the biggesttype.



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