[teiid-issues] [JBoss JIRA] (TEIID-5826) Odata based translators ignore column metadata from source during metadata import

Ramesh Reddy (Jira) issues at jboss.org
Sat Oct 12 13:43:00 EDT 2019


Ramesh Reddy created TEIID-5826:
-----------------------------------

             Summary: 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: Steven Hawkins
             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