Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2731

VDB exported to Dynamic VDB XML, the foreign key relations have erroneous references in the resulting SQL.

    Details

      Description

      Model:
      • Catalog (ID, SecondID, ThirdID). Primary key: (ID). Unique constraint: (SecondID, ThirdID)
      • CatalogItem(ID,CatalogID, CatalogSecondID, CatalogThirdID)

      Foreign key relation on Unique constraints, spanning two columns: CatalogItem(CatalogSecondID, CatalogThirdID)  Catalog(SecondID, ThirdID)

      Expected in metadata DLL for CatalogItem:
      CONSTRAINT FKI_SECOND_THIRD_ID FOREIGN KEY(CatalogSecondID, CatalogThirdID) REFERENCES Catalog(SecondID, ThirdID)

      Actual:
      CONSTRAINT FKI_SECOND_THIRD_ID FOREIGN KEY(CatalogSecondID, CatalogThirdID) REFERENCES Catalog(ID)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  blafond Barry LaFond
                  Reporter:
                  dsteigne Deborah Steigner
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: