You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Guillaume Massé (Jira)" <ji...@apache.org> on 2023/08/02 02:07:00 UTC
[jira] [Resolved] (CALCITE-5628) Cannot parse map function for Spark Dialect
[ https://issues.apache.org/jira/browse/CALCITE-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Massé resolved CALCITE-5628.
--------------------------------------
Fix Version/s: 1.35.0
Assignee: Guillaume Massé
Resolution: Fixed
> Cannot parse map function for Spark Dialect
> -------------------------------------------
>
> Key: CALCITE-5628
> URL: https://issues.apache.org/jira/browse/CALCITE-5628
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.34.0
> Reporter: Guillaume Massé
> Assignee: Guillaume Massé
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.35.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Similar to CALCITE-5624
>
> AtomicRowExpression should not have MapConstructor for Apache Spark. Maps are constructed by calling the map function (https://spark.apache.org/docs/latest/api/sql/index.html#map).
>
> {code:java}
> map()
> map(1.0, '2', 3.0, '4');{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)