[ 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)