[teiid-issues] [JBoss JIRA] (TEIID-5875) MongoDB metadata import can create tables with no columns

Steven Hawkins (Jira) issues at jboss.org
Fri Jan 10 13:54:51 EST 2020


    [ https://issues.redhat.com/browse/TEIID-5875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946048#comment-13946048 ] 

Steven Hawkins commented on TEIID-5875:
---------------------------------------

The simplest scenario in which this can happen is with a mongodb view that suppresses the _id field.  That view is still reported as a collection and so it's easy to sample a row only contains a reference to another ojbect - in which case without an id and other columns a table with no columns is created.

> MongoDB metadata import can create tables with no columns
> ---------------------------------------------------------
>
>                 Key: TEIID-5875
>                 URL: https://issues.redhat.com/browse/TEIID-5875
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 13.1, 13.0.2
>
>
> The mongodb metadata import adds tables before determining what columns are available.  In some circumstances this results in tables with no columns.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list