You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Walaa Eldin Moustafa (Jira)" <ji...@apache.org> on 2020/10/13 21:06:00 UTC
[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213413#comment-17213413 ]
Walaa Eldin Moustafa commented on CALCITE-3504:
-----------------------------------------------
[~zabetak], [~julianhyde], can we re-open this ticket?
> allow empty ARRAY[] literals
> ----------------------------
>
> Key: CALCITE-3504
> URL: https://issues.apache.org/jira/browse/CALCITE-3504
> Project: Calcite
> Issue Type: Wish
> Affects Versions: 1.21.0
> Reporter: Pressenna
> Priority: Major
>
> Currently an ARRAY expression requires at least one element.
> Please allow empty ARRAY expressions.
> {code:sql}
> SELECT ARRAY[] FROM foo;
> -- or more concise for updates:
> UPDATE food set array_column = ARRAY[];
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)