[teiid-issues] [JBoss JIRA] (TEIID-2972) adminApi getSchema does not include namespace info in the DDL

Ramesh Reddy (JIRA) issues at jboss.org
Wed May 28 22:35:15 EDT 2014


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

Ramesh Reddy resolved TEIID-2972.
---------------------------------

           Labels: Beta1  (was: )
    Fix Version/s: 8.7.1
                   8.8
       Resolution: Done


1) Changed the DDLStringVisitor to always include the namespace even if they were built-in namespaces.

During Parsing:

2) If name space is presented with same URI but different prefix, it will be considered as built-in namespace

3) If prefix matches with built-in prefix but the URI does not match then error thrown

4) if both match, it is like no-op

> adminApi getSchema does not include namespace info in the DDL
> -------------------------------------------------------------
>
>                 Key: TEIID-2972
>                 URL: https://issues.jboss.org/browse/TEIID-2972
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 8.7
>            Reporter: Mark Drilling
>            Assignee: Ramesh Reddy
>              Labels: Beta1
>             Fix For: 8.7.1, 8.8
>
>         Attachments: excelSheet.ddl
>
>
> I was following this community example
> https://community.jboss.org/wiki/MicrosoftExcelDocumentIntoRelationalTable
> The DDL returned for the deployed dynamic vdb is attached.  However, the DDL does not include a namespace statement like this 
> SET NAMESPACE 'http://www.teiid.org/translator/excel/2014' AS teiid_excel



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the teiid-issues mailing list