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

Duplicate result uid reported when using procedure isFunction=true

    Details

      Description

      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:

      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)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                shawkins Steven Hawkins
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: