]
Steven Hawkins resolved TEIID-4838.
-----------------------------------
Resolution: Done
Specifically set the projected types on a setquery when resolved as a view definition.
View with a union that projects nulls fails to resolve properly
---------------------------------------------------------------
Key: TEIID-4838
URL:
https://issues.jboss.org/browse/TEIID-4838
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 9.3
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.