[
https://issues.apache.org/jira/browse/CALCITE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370957#comment-17370957
]
Julian Hyde commented on CALCITE-4669:
--------------------------------------
As noted in CALCITE-3504, Calcite's SQL is strongly typed. We need a way to
deduce the type of such an expression.
> Allow empty MAP[] constructors
> ------------------------------
>
> Key: CALCITE-4669
> URL: https://issues.apache.org/jira/browse/CALCITE-4669
> Project: Calcite
> Issue Type: Wish
> Reporter: Jiefan Li
> Priority: Major
>
> Similar ticket: https://issues.apache.org/jira/browse/CALCITE-3504
> Currently a MAP expression requires at least 2 element. However, Hive
> supports empty MAP() syntax.
> Please allow empty MAP expressions:
> {code:sql}
> SELECT MAP[] FROM foo;
> {code}
> cc: [~wmoustafa]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)