[teiid-issues] [JBoss JIRA] Commented: (TEIID-1638) Add ability to query parent record info from child table query without joins for the Salesforce Translator

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Wed Jun 15 19:37:29 EDT 2011


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

Steven Hawkins commented on TEIID-1638:
---------------------------------------

The corresponding left outer join form should get pushed down as a relationship query.  

e.g. something like: select c.id, c.name, c.accoundid, a.name from contact c left outer join account a on c.id = c.contactid

There are no plans at this time to support SOQL queries directly.

> Add ability to query parent record info from child table query without joins for the Salesforce Translator
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-1638
>                 URL: https://issues.jboss.org/browse/TEIID-1638
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Salesforce Connector
>    Affects Versions: 7.1.1
>            Reporter: Debbie Steigner
>              Labels: eds, salesforce
>
> Salesforce.com SOQL supports selecting parent record value through reference key name.
> We need to query parent record info from child table query.   For example,  if I have column parentid in Contact object which is reference key to account object,  I can do in SOQL in salesforce.com something like this.
> Select c.Id, c.Name, c.AccountId, c.Account.Name
> from Contact c
> But if i want to do the same in EDS, I have to use Relationship Queries (join of two tables Account and Contact) which is huge impact on performance

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list