[
https://issues.apache.org/jira/browse/CALCITE-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545780#comment-17545780
]
Dmitry Sysolyatin commented on CALCITE-5159:
--------------------------------------------
[~julianhyde]
I have added supporting:
{code}
ARRAY '{1, 2}'
{code}
and added more tests.
> Postgres dialect should support implicit cast from string literal to array
> literal
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-5159
> URL: https://issues.apache.org/jira/browse/CALCITE-5159
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Dmitry Sysolyatin
> Assignee: Dmitry Sysolyatin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> According to the documentation
> [https://www.postgresql.org/docs/current/arrays.html]
> Postgres dialect should support implicit cast from string literal to array
> literal:
> {code:java}
> SELECT ARRAY[1,2,3] = '{1,2,3}'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)