You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2017/05/24 11:18:04 UTC

[jira] [Commented] (CALCITE-1804) Cannot assign NOT NULL array to NULLABLE array

    [ https://issues.apache.org/jira/browse/CALCITE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022712#comment-16022712 ] 

Ankit Singhal commented on CALCITE-1804:
----------------------------------------

I have tried something here.
https://github.com/apache/calcite/pull/456/files

> 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
>
> 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)