A query that is run on teiid 9.1 results in 56186 rows.
The same query that is run on teiid 10.3.2 results in 5919 rows.
It seems like the left join is reversed.
I've attached both query plans.
The queries are exactly the same. Note that on 9.1 we've prefixed table names with cos2_5_.