Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1804

Cannot assign NOT NULL array to NULLABLE array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.13.0
    • core
    • None

    Description

      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.

      Attachments

        1. CALCITE-1804.patch
          1 kB
          Ankit Singhal

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              ankit@apache.org Ankit Singhal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: