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

Mongo translator - NAMEINSOURCE option is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 8.12.8.6_3
    • Misc. Connectors
    • None

      Mongo translator ignores NAMEINSOURCE table/column option.
      For table [1], no data is returned. For column [2], all values in column are NULL.

      [1] Sample DDL - table
      CREATE FOREIGN TABLE MyNewName (
        id integer PRIMARY KEY,
        name varchar(25)
      ) OPTIONS(UPDATABLE 'TRUE', NAMEINSOURCE 'RealCollectionName');
      
      [2] Sample DDL - column
      CREATE FOREIGN TABLE MyCollection (
        id integer PRIMARY KEY,
        myColName varchar(25) OPTIONS(NAMEINSOURCE 'realName')
      ) OPTIONS(UPDATABLE 'TRUE');
      

            rhn-engineering-shawkins Steven Hawkins
            jdurani Juraj DurĂ¡ni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: