Guillaume Massé created CALCITE-5577:
----------------------------------------

             Summary: 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é


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)

Reply via email to