[teiid-issues] [JBoss JIRA] (TEIID-5357) creating a ddl table with two unique columns fails

Steven Hawkins (JIRA) issues at jboss.org
Sun Jun 3 09:40:00 EDT 2018


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

Steven Hawkins resolved TEIID-5357.
-----------------------------------
    Resolution: Done


Corrected the usage of unique keys vs indexes in the parser.  At some point we should look at deferring the name generation to avoid any possibility of name conflicts with user given constraint names.

> creating a ddl table with two unique columns fails
> --------------------------------------------------
>
>                 Key: TEIID-5357
>                 URL: https://issues.jboss.org/browse/TEIID-5357
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 11.0, 10.3.2, 10.2.3
>
>
> DDL such as:
> CREATE FOREIGN TABLE G1(e2 varchar(10) unique, e3 date not null unique);
> Will fail to validate properly as both columns will be add a unique index with the same name.



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


More information about the teiid-issues mailing list