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

NATIVE tag causes new protobuf name when source model doesn't have the same name as a existing protobuf name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • None
    • None
    • None
      1. Set up JDV and JDG according to jdg7.1-remote-cache quickstart
      2. Import project from attachment or follow the video from attachment
    • Hide

      Remove NATIVE metadata tag if you use JDG7 as a data source ( example in the video )

      Show
      Remove NATIVE metadata tag if you use JDG7 as a data source ( example in the video )

    Description

      When JDG7 is used as a data source and imported from teiid importer, the model must have the same name as protobuf name. If the name of the imported model is different, native tag causes that new protobuf name is created and model doesn't select original data. (only empty table)

      I want to use JDG7 as a data source. I import source model ( People from jdg7.1-remote-cache quickstart ) via Teiid Importer. When I set the name of the imported source model as a name of the Protobuf file, everything works and I am able to select data from table but when I set the name of the imported source model differently (e.g. mySourceModel), run select query on dynamic VDB doesn't show any data from table and in the JDG side is created the new Protobuf name according to the name of the model (mySourceModel.proto).

      12:25:22,365 INFO  [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
      12:25:22,368 INFO  [org.teiid.CONNECTOR] (teiid-async-threads - 3) ====  Protobuf Name: People.proto
      12:25:22,368 INFO  [org.teiid.CONNECTOR] (teiid-async-threads - 3) ====  Protobuf Name: mySourceModel.proto
      12:25:22,368 INFO  [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
      

      I notice that this behavior is caused by native metadata tag. When I remove the native tag from XML vdb, I am able to select data from the model which has the different name as protobuf file too.

      If you set up JDG and JDV according to jdg7.1-remote-cache quickstart, you can use project from attachment. I have also uploaded video.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: