-
1. Re: Cascaded teiid setup with Webservice produces TEIID30270 error
rareddy Apr 25, 2016 12:19 PM (in response to ralfr68)Ralf,
How is the VDB1 accessing the VDB2, using the JDBC? Did you use the "teiid" translator for it? I suspect the JOIN condition as parameter is not being pushed as parameter VDB2's WS. You can attach the query plan to see.
Ramesh..
-
2. Re: Cascaded teiid setup with Webservice produces TEIID30270 error
ralfr68 Apr 29, 2016 8:51 AM (in response to rareddy)Ramesh,
yes, teiid1 accesses teiid2 through JDBC and the teiid translator. Attached is the query plan. We have investigated a Little bit further and found out:
This query works:
SELECT DB1.table1.xxx, WS.view2.yyy FROM DB1.table1
LEFT OUTER JOIN WS.view2 on (DB1.table1.key1=WS.view2.key2)
WHERE DB1.table1.key1 = '1234567';
But These two queries do not work:
SELECT DB1.table1.xxx, WS.view2.yyy FROM DB1.table1
LEFT OUTER JOIN WS.view2 on (DB1.table1.key1=WS.view2.key2)
or:
SELECT DB1.table1.xxx, WS.view2.yyy FROM DB1.table1
LEFT OUTER JOIN WS.view2 on (DB1.table1.key1=WS.view2.key2)
WHERE DB1.table1.otherkey = 'ABCDEFG';
BUT, if we temporarily add DB1 to teiid2, then ALL of the above queries run fine on teiid2. Unfortunatly, this is not an Option for us.
It seems to me that the query optimizer is not aware of the fact that the web service can only handle exactly one condition.
Thanks for your support!
Ralf