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

Selecting from SYS model throws exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.4
    • 7.4
    • None
    • None
    • Workaround Exists
    • Hide

      If possible do not include the source pg catalogs (filter/exlcude them via the import settings).

      Show
      If possible do not include the source pg catalogs (filter/exlcude them via the import settings).

    Description

      We have a dynamic vdb deployed into our Teiid 8.3 environment, but whenever we connect to the vdb via the pgsql emulation socket using the standard postgresql tools, and attempt to select any value from any tables in the SYS scheama, we are given an error

      TestVDB=> select * from sys.keys;
      ERROR:  Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      DETAIL:  org.teiid.jdbc.TeiidSQLException: Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      TestVDB=> select * from sys.columns;
      ERROR:  Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      DETAIL:  org.teiid.jdbc.TeiidSQLException: Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      TestVDB=> select * from sys.tables;
      ERROR:  Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      DETAIL:  org.teiid.jdbc.TeiidSQLException: Group specified is ambiguous, resubmit the query by fully qualifying the group name: pg_attribute
      TestVDB=>
      

      It looks like the teiid parser is getting confused somehow with multiple pg_attribute fields on those tables or something.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            graeme.gillies Graeme Gillies (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: