You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Guillaume Massé (Jira)" <ji...@apache.org> on 2023/08/11 16:48:00 UTC
[jira] [Created] (CALCITE-5918) Add MAP function (enabled in Spark library)
Guillaume Massé created CALCITE-5918:
----------------------------------------
Summary: 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é
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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)