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

Nullability incorrectly assigned in SqlTypeFactory.leastRestrictiveSqlType()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: core
    • Labels:
      None

      Description

      A minor bug where nullability is not accounting for types that return type.isNullable() true (only considering types that are NULL).

        Activity

        Hide
        minjikim MinJi Kim added a comment -
        Show
        minjikim MinJi Kim added a comment - Pull request for the fix: https://github.com/apache/calcite/pull/246
        Hide
        julianhyde Julian Hyde added a comment -
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/0404349e . MinJi Kim , thanks for the PR!
        Hide
        julianhyde Julian Hyde added a comment -
        Show
        julianhyde Julian Hyde added a comment - And further manifestations fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/8eca1c9f .
        Hide
        jcamachorodriguez Jesus Camacho Rodriguez added a comment -

        Resolved in release 1.9.0 (2016-09-22)

        Show
        jcamachorodriguez Jesus Camacho Rodriguez added a comment - Resolved in release 1.9.0 (2016-09-22)

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            minjikim MinJi Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development