You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Benchao Li (Jira)" <ji...@apache.org> on 2023/03/14 14:29:00 UTC

[jira] [Resolved] (CALCITE-5577) Map value constructor is unparsed incorrectly for SparkSqlDialect

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

Benchao Li resolved CALCITE-5577.
---------------------------------
    Fix Version/s: 1.35.0
       Resolution: Fixed

Fixed via https://github.com/apache/calcite/commit/298a94a09a7d15bbda429b19cb9d5a7e27f951ea

[~MasseGuillaume] Thanks for the contribution!

> Map value constructor is unparsed incorrectly for SparkSqlDialect
> -----------------------------------------------------------------
>
>                 Key: CALCITE-5577
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5577
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.33.0
>            Reporter: Guillaume Massé
>            Assignee: Guillaume Massé
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.35.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> They should be in the form: map('k1', 'v1', 'k2', 'v2')
> However, they are unparsed as MAP['k1', 'v1', 'k2', 'v2'] 
> [https://spark.apache.org/docs/latest/api/sql/#map|https://spark.apache.org/docs/latest/api/sql/#array]
>  
> I would be happy to submit a fix,
> Guillaume



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