[
https://issues.apache.org/jira/browse/CALCITE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ankit Singhal updated CALCITE-1804:
-----------------------------------
Attachment: CALCITE-1804.patch
> Cannot assign NOT NULL array to NULLABLE array
> ----------------------------------------------
>
> Key: CALCITE-1804
> URL: https://issues.apache.org/jira/browse/CALCITE-1804
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.13.0
> Reporter: Ankit Singhal
> Assignee: Julian Hyde
> Fix For: 1.13.0
>
> Attachments: CALCITE-1804.patch
>
>
> As ArraySqlType return a family of its own type and comparing families in
> SqlTypeUtil#canAssignFrom will compare the digest with Nullable constraints,
> which will not match when we are inserting an array in a nullable column.
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)