Focal Point
[CLOSED] FOC2675 - CANNOT PASS INNER JOIN

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3217046096

July 31, 2018, 07:51 AM
Ronibi
[CLOSED] FOC2675 - CANNOT PASS INNER JOIN
Hello

we have a business view. By using that view the user builds a report in InfoAssist. But this report runs very slow. The SQL trace gives this information:

FOC2675 - CANNOT PASS INNER JOIN TO SEGMENT GWTB311 BELOW AN OUTER ONE

We have a fact table (T1) with an account number in IBAN format. It reads a dimension table (T2) containing accounts by using a left join. We use a left join because not all accounts are in T2.
Next T2 joins to T3, this is GWTB311, by using account number in BBAN format. This is an inner join.

So, in SQL

select
from T1
left outer join T2
on T1.IBAN = T2.IBAN
inner join T3
on T3.BBAN = T2.BBAN

But why can't WebFOCUS pass this?
Our default is SET ALL = OFF

regards
Ron

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS AppStudio 8.2.04
WebFocus Datamanagement Console 8.1M
DMC
July 31, 2018, 08:29 AM
MartinY
I would try 3 things and choose the one(s) that gives the desired result

1- Change the INNER join to LEFT_OUTER. Since it's already an INNER in the DB, accessing the data with LEFT_OUTER will not change the result.
2- Try SET ALL = PASS
3- Try SET ALL = ON

See page 210 of the following
Adapter Administration

But you must refer to the DB2 adapter specific configuration and options since it's seems to be the case according to your other discussions.

This message has been edited. Last edited by: MartinY,


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007