[teiid-issues] [JBoss JIRA] (TEIID-2870) Expand "allow-join" extension property on Foreign Key

Steven Hawkins (JIRA) issues at jboss.org
Thu Feb 27 08:39:48 EST 2014


    [ https://issues.jboss.org/browse/TEIID-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12948644#comment-12948644 ] 

Steven Hawkins commented on TEIID-2870:
---------------------------------------

CROSS would generally be prohibited by a join criteria restriction.  RIGHT on a foreign key is equivalent to an inner join, so it seems that inner join would not be allowed in this case either.  So in this case you're saying that the only join that is supported is a parent left outer join child?
                
> Expand "allow-join" extension property on Foreign Key
> -----------------------------------------------------
>
>                 Key: TEIID-2870
>                 URL: https://issues.jboss.org/browse/TEIID-2870
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Query Engine
>    Affects Versions: 8.7
>            Reporter: Ramesh Reddy
>            Assignee: Steven Hawkins
>
> Currently "allow-join" property on a Foreign Key, defines if the joins based on that Foreign Key that are valid to push to the source or not, when JOIN capability is turned on at translator level. This feature is used in the MongoDB translator to allow JOINS to pushed to source.
> What I have seen is "allow-join" is blanket capability that says it supports all LEFT, RIGHT, INNER and CROSS JOINS.  It is useful to define this capability in fine grained manner to allow each kind of JOIN explicitly to control the JOIN behavior.
> The need came from MongoDB translator, where INNER,LEFT are possible but CROSS and RIGHT are not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list