[teiid-issues] [JBoss JIRA] (TEIID-5250) Duplicate result uid reported when using procedure isFunction=true

Steven Hawkins (JIRA) issues at jboss.org
Fri Feb 2 16:03:00 EST 2018


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

Work on TEIID-5250 started by Steven Hawkins.
---------------------------------------------
> Duplicate result uid reported when using procedure isFunction=true
> ------------------------------------------------------------------
>
>                 Key: TEIID-5250
>                 URL: https://issues.jboss.org/browse/TEIID-5250
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Critical
>             Fix For: 10.2
>
>
> The logic that creates function metadata object in IndexMetadataRepository to replace procedures marked as isFunction = true does not convey the designer object uuids, then when values are assigned later that logic does not generate a sufficiently different uid.
> The exception is reported as:
> {code}
> Caused by: java.lang.AssertionError: duplicate uid boolean result
>   at org.teiid.query.metadata.CompositeMetadataStore.addOid(CompositeMetadataStore.java:199)
>   at org.teiid.query.metadata.CompositeMetadataStore.assignOids(CompositeMetadataStore.java:192)
>   at org.teiid.query.metadata.CompositeMetadataStore.getOids(CompositeMetadataStore.java:231)
>   at org.teiid.query.metadata.CompositeMetadataStore.getOid(CompositeMetadataStore.java:217)
>   at org.teiid.deployers.PgCatalogMetadataStore$FunctionMethods.getOid(PgCatalogMetadataStore.java:614)
> {code}



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


More information about the teiid-issues mailing list