Caican Cai created CALCITE-6223:
-----------------------------------

             Summary: Add MAP_CONTAINS_KEY function (enabled in Spark library)
                 Key: CALCITE-6223
                 URL: https://issues.apache.org/jira/browse/CALCITE-6223
             Project: Calcite
          Issue Type: New Feature
          Components: core
    Affects Versions: 1.36.0
            Reporter: Caican Cai
             Fix For: 1.37.0


Add MAP_CONTAINS_KEY function (enabled in Spark library)

[https://spark.apache.org/docs/3.4.0/api/sql/index.html#map_contains_key]

 

 
{code:java}
> SELECT map_contains_key(map(1, 'a', 2, 'b'), 1);
 true
> SELECT map_contains_key(map(1, 'a', 2, 'b'), 3);
 false {code}
 

 



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

Reply via email to