-
Bug
-
Resolution: Done
-
Major
-
None
-
None
With a query such as:
SELECT case when agent_tin_id is null then 'Y' else 'N' end agent_tin_id from (SELECT agent_tin_id from MySQL_Server.bitool.AGENT_DIM where agent_tin_id>100 except( SELECT agent_tin_id from MySQL_Server.bitool.AGENT_DIM where agent_tin_id=100)) a
When not fully pushed is processed as an anti semi join, but results in an exception:
org.teiid.core.TeiidRuntimeException: Planning error. Could not find symbol: a.agent_tin_id at org.teiid.query.processor.relational.RelationalNode.getProjectionIndexes(RelationalNode.java:363) at org.teiid.query.processor.relational.JoinNode.initialize(JoinNode.java:129) at org.teiid.query.processor.relational.RelationalPlan.connectExternal(RelationalPlan.java:92) at org.teiid.query.processor.relational.RelationalPlan.connectExternal(RelationalPlan.java:98) at org.teiid.query.processor.relational.RelationalPlan.initialize(RelationalPlan.java:87) at org.teiid.query.processor.QueryProcessor.init(QueryProcessor.java:223)