Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4838

View with a union that projects nulls fails to resolve properly

    XMLWordPrintable

Details

    Description

      Accessing a view defined as:

      create view v (col string[]) as select null union all select null

      Results in an exception:

      org.teiid.core.TeiidRuntimeException: TEIID30447 org.teiid.api.exception.query.QueryResolverException: TEIID30082 Expected value of type 'null' but 'null' is of type 'string[]' and no implicit conversion is available.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: