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

[jira] [Resolved] (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:all-tabpanel ]

Julian Hyde resolved CALCITE-1804.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.13.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/f164fb8e. Thanks for the PR, [~ankit@apache.org]!

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