[teiid-issues] [JBoss JIRA] (TEIID-5895) Create common mongodb logic

Steven Hawkins (Jira) issues at jboss.org
Fri Mar 13 11:20:26 EDT 2020


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

Steven Hawkins commented on TEIID-5895:
---------------------------------------

It appears that the join logic is quite specialized to the embedded doc case, so the only issue I see with the mongo join logic is around DBRef construct.  The issues are:

* the lookup is based upon name name, which does not account for conflicts - TEIID-5876
* it does not account for exclusions or other reasons why a collection may not be present and create a dangling fk - which is already present in the metadata tests
* if an fk is created, it will allow a join to be pushed down, which is not expected

based upon the above issues, I'll simply remove the creation of the fk.

> Create common mongodb logic
> ---------------------------
>
>                 Key: TEIID-5895
>                 URL: https://issues.redhat.com/browse/TEIID-5895
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Misc. Connectors
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 14.0
>
>
> Similar to the refactoring of infinispan connectivity, the logic should be shared between teiid and teiid spring boot.  As well as a review of similar potential issues with the join filtering and TEIID-5876



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


More information about the teiid-issues mailing list