[teiid-issues] [JBoss JIRA] (TEIID-4760) optional object name manipulations while executing IMPORT FOREIGN SCHEMA

Steven Hawkins (JIRA) issues at jboss.org
Wed May 23 07:36:00 EDT 2018


    [ https://issues.jboss.org/browse/TEIID-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580861#comment-13580861 ] 

Steven Hawkins commented on TEIID-4760:
---------------------------------------

It works when using an XML VDB, but not DDL as an import option.  There is a difference in the property handling such that DDL is adding the import properties after the MetadataFactory is constructed, which is too late.  That means that all of the low level properties dealing with column name auto correction, duplicate handling, and name format are not handled in DDL.  Sorry I made an invalid assumption that the DDL logic already accounted for this.



> optional object name manipulations while executing IMPORT FOREIGN SCHEMA
> ------------------------------------------------------------------------
>
>                 Key: TEIID-4760
>                 URL: https://issues.jboss.org/browse/TEIID-4760
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Misc. Connectors
>            Reporter: Bram Gadeyne
>            Assignee: Steven Hawkins
>              Labels: ddl, import, import_wizard
>             Fix For: 10.3
>
>
> While executing IMPORT FOREIGN SCHEMA, table (and other object) names are added to the schema with their original names.
> In our previous virtual database we imported two schema's that contain the same objects but one is a production and another is a historical database.
> We then change the name for e.g. table1 to prod_table1 or wh_table1 according to the schema it came from. Some software that interacts with teiid can not distinguish between different schemas and can not handle duplicate table names. So for this reason, this would also come in handy.
> It would come in handy if it is possible to add a prefix to names while importing objects.



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


More information about the teiid-issues mailing list