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

View with a union that projects nulls fails to resolve properly

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.3, 9.2.4
    • Component/s: Query Engine
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shawkins Steven Hawkins
                  Reporter:
                  shawkins Steven Hawkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: