Caican Cai created CALCITE-6235:
-----------------------------------

             Summary: MAP_CONTAINS_KEY function results correspond to Spark 
results
                 Key: CALCITE-6235
                 URL: https://issues.apache.org/jira/browse/CALCITE-6235
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.36.0
            Reporter: Caican Cai


map_contains_key(map(1, 2), cast(1 as double) returns false but spark returns 
true.

This may involve some node type conversion bug

But I personally tend to think that this is a bug of Spark itself. Calcite does 
not necessarily need to return true.

 

https://github.com/apache/calcite/pull/3655



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

Reply via email to