[
https://issues.apache.org/jira/browse/CALCITE-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542899#comment-17542899
]
Dmitry Sysolyatin edited comment on CALCITE-5159 at 5/27/22 12:42 PM:
----------------------------------------------------------------------
PR is available - https://github.com/apache/calcite/pull/2819
I am not sure that I implemented it in the best way, but it least it works
was (Author: dmsysolyatin):
PR is available - [https://github.com/apache/calcite/pull/2819
|https://github.com/apache/calcite/pull/2819.]
I am not sure that I implemented it in the best way, but it least it works
> 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
>
> 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)