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

Tanner Clary resolved CALCITE-5918.
-----------------------------------
    Resolution: Fixed

Merged via 
[b11f179|https://github.com/apache/calcite/commit/b11f179cbabd6c306a1300b40f1b8e0c8d11fda4],
 thanks for the fix, [~taoran]!

> Add MAP function (enabled in Spark library)
> -------------------------------------------
>
>                 Key: CALCITE-5918
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5918
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Guillaume Massé
>            Assignee: Ran Tao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.36.0
>
>
> Apache Spark map constructor is different than the standard SQL:
> [https://spark.apache.org/docs/3.4.0/api/sql/index.html#map]
>  
> {code:java}
> SELECT map(1.0, '2', 3.0, '4');
> // {1.0:"2",3.0:"4"} {code}
>  
> related PR that can help implement this: 
> https://github.com/apache/calcite/pull/3141



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

Reply via email to