[ https://issues.apache.org/jira/browse/CALCITE-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863406#comment-17863406 ]
Julian Hyde commented on CALCITE-6457: -------------------------------------- The summary is not a valid English sentence. Change the word 'return' to 'wrongly returns' or 'should return'. > The ARRAY_CONTAINS function return 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)