[teiid-issues] [JBoss JIRA] (TEIID-5860) Salesforce translator should support self joins

Steven Hawkins (Jira) issues at jboss.org
Mon Feb 10 08:16:14 EST 2020


     [ https://issues.redhat.com/browse/TEIID-5860?focusedWorklogId=12450075&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-12450075 ]

Steven Hawkins logged work on TEIID-5860:
-----------------------------------------

                Author: Steven Hawkins
            Created on: 10/Feb/20 8:15 AM
            Start Date: 10/Feb/20 8:15 AM
    Worklog Time Spent: 3 hours 

Issue Time Tracking
-------------------

    Remaining Estimate: 0 minutes  (was: 3 hours)
            Time Spent: 3 hours
            Worklog Id:     (was: 12450075)


> Salesforce translator should support self joins
> -----------------------------------------------
>
>                 Key: TEIID-5860
>                 URL: https://issues.redhat.com/browse/TEIID-5860
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Salesforce Connector
>            Reporter: Renat Eskenin
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 13.1
>
>   Original Estimate: 3 hours
>          Time Spent: 3 hours
>  Remaining Estimate: 0 minutes
>
> In this query 
> {code}
> SELECT originalLicense.Id,originalLicense.Status__c,originalLicense.ReplacementLicenseID__c,originalLicense.LicenseId__c,originalLicense.vlic_Contract_Number__c,replacementLicense.LicenseId__c as replacementLicenseId ,replacementLicense.LicenseId__c as replacementLicenseLicenseId FROM Product_License__c originalLicense LEFT OUTER JOIN /*+ MAKEDEP */ Product_License__c replacementLicense ON originalLicense.ReplacementLicenseID__c = replacementLicense.Id where originalLicense.vlic_Contract_Number__c = :contractNumber
> {code}
> We have two requests to salesforce, but could generate a single SOQL query.



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


More information about the teiid-issues mailing list