[teiid-issues] [JBoss JIRA] (TEIID-5356) Infer field metadata from the source columns

Steven Hawkins (JIRA) issues at jboss.org
Tue Jun 5 16:38:00 EDT 2018


     [ https://issues.jboss.org/browse/TEIID-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-5356.
-----------------------------------
    Resolution: Done


Added logic to the MetadataValidator.addColumn to consult the actual metadata object or defer to the MetaDataProcessor to determine better column metadata.  This is not perfect, but with a couple of related fixes such as TEIID-5361 and TEIID-5359 it's much better than it was.

> Infer field metadata from the source columns
> --------------------------------------------
>
>                 Key: TEIID-5356
>                 URL: https://issues.jboss.org/browse/TEIID-5356
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Query Engine
>            Reporter: Chandra Akkinepalli
>            Assignee: Steven Hawkins
>             Fix For: 11.0
>
>
> This is an observation made in dynamic vdbs.
> When a view is defined without column name , data type, length as in the example below
> create view xyz as (
> select a, b, c from view_model.example
> );
> instead of inferring the column metadata from view_model, the string columns are created with length =4000, this is causing issues when querying such views from visualization tools like Tableau, these fields are forced to be converted to text and failing in the process.
> I would like to request an enhancement for dynamic vdbs to infer metadata from sources in such cases.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list