You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/05/10 20:13:00 UTC

[jira] [Comment Edited] (CALCITE-5695) Add MAP_KEYS and MAP_VALUES for Spark dialect

    [ https://issues.apache.org/jira/browse/CALCITE-5695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721379#comment-17721379 ] 

Julian Hyde edited comment on CALCITE-5695 at 5/10/23 8:12 PM:
---------------------------------------------------------------

In Calcite's type system an unordered array would be called a {{MULTISET}}. 


was (Author: julianhyde):
In calcites type system an unordered array would be called a MULTISET. 

> Add MAP_KEYS and MAP_VALUES for Spark dialect
> ---------------------------------------------
>
>                 Key: CALCITE-5695
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5695
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: jackylau
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.35.0
>
>
> {{MAP_KEYS}} - Returns an unordered array containing the keys of the map. If the map itself is null, the function will return null. 
> {{MAP_VALUES}} - Returns an unordered array containing the values of the map. If the map itself is null, the function will return null. 
> For more details
> [https://spark.apache.org/docs/latest/sql-ref-functions-builtin.html]



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