Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5826

Odata based translators ignore column metadata from source during metadata import

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 13.0
    • None
    • Misc. Connectors, OData
    • None

    Description

      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

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            rhn-engineering-rareddy Ramesh Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: