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

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

Ankit Singhal created CALCITE-1804:
--------------------------------------

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