[teiid-issues] [JBoss JIRA] (TEIID-5826) Odata based translators ignore column metadata from source during metadata import
Ramesh Reddy (Jira)
issues at jboss.org
Fri Oct 25 14:44:00 EDT 2019
[ https://issues.jboss.org/browse/TEIID-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy resolved TEIID-5826.
---------------------------------
Resolution: Done
Updated the metadata resolution to look at precision, scale, length and default value options. Also corrected the issue when applying to timestamp, the precision is used as scale.
> Odata based translators ignore column metadata from source during metadata import
> ---------------------------------------------------------------------------------
>
> Key: TEIID-5826
> URL: https://issues.jboss.org/browse/TEIID-5826
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors, OData
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 13.0
>
>
> The OData V2 and SAP and OData V4 translators do not set column metadata such as precision and scale and length the is supplied to it through $metadata call on to the schema it builds on Teiid. Then Teiid assumes some of the defaults.
> This can be fixed by setting the values to what has been delivered as part of metadata. Example here https://github.com/rareddy/sap-demo/blob/master/src/main/java/org/teiid/translator/odata/sap/SAPMetadataProcessor.java#L111-L124
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list