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

UNKNOWN SqlTypeName erroneously treated as NULL

    XMLWordPrintableJSON

Details

    Description

      Call createWithNullability on an UnknownSqlType currently returns a NULL type. Furthermore, it's impossible to cast to unknown types, according to SqlTypeUtil.canCastFrom. This introduces a new SqlTypeNameUNKNOWN – which behaves like NULL in all ways except that it's no longer actually equal to NULL, and can always be cast to.

      Attachments

        Issue Links

          Activity

            People

              wnoble Will Noble
              wnoble Will Noble
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m