Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1216954

Summary: Problems with model created via import from Salesforce when using JOIN query
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Matus Makovy <mmakovy>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED WORKSFORME QA Contact: Matus Makovy <mmakovy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: atangrin, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-05 10:18:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matus Makovy 2015-04-29 09:52:46 UTC
Discovered this issue when trying to verify TEIID-3112

I am trying to execute this query on VDB created via import from SalesForce in Teiid Designer.


select distinct YEAR("Opportunity"."CloseDate") as "Opportunity_CloseDate1" from  "SalesForceSource".salesforce.Campaign AS "Campaign" LEFT OUTER JOIN "SalesForceSource".salesforce.Opportunity AS "Opportunity" ON Campaign."Id" = Opportunity."CampaignId" order by YEAR("Opportunity"."CloseDate") ASC LIMIT 0 , 32


And I get this exception: 

org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidException: Invalid QName in mapping: sf:INVALID_TYPE



With dynamic VDB created manually or with import using Teiid Connection Importer via Designer everything works.

For attachments see JIRA

Comment 1 Barry LaFond 2015-07-28 14:56:43 UTC
Pushing to 9.0.4

Comment 2 JBoss JIRA Server 2015-09-02 14:23:56 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2500 to Resolved

Comment 3 Barry LaFond 2015-09-02 14:25:47 UTC
TEIIDDES-2500 was retested with DV 6.2 and issue not reproducable.

Comment 4 JBoss JIRA Server 2015-10-12 07:16:58 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2500 to Closed