]
Steven Hawkins resolved TEIID-5361.
-----------------------------------
Resolution: Done
Added logic around unions and literals - mostly for string and decimal types.
Column metadata with set queries only reflects projected branch
---------------------------------------------------------------
Key: TEIID-5361
URL:
https://issues.jboss.org/browse/TEIID-5361
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 11.0
The logic in the MetaDataProcessor only considers the projected branch when determining
attributes beyond type, thus it may not accurately represent the expected results.
We should also look at returning metadata that is more specific to literal values. For
example:
select 'a'
would return the generic type metadata for 'a', rather than a more specific
length.