Details
-
Bug
-
Resolution: Done
-
Critical
-
8.7
-
None
Description
A plan structure such as:
JoinNode ... [CROSS JOIN] ... SortNode ... [DUP_REMOVE]
Will cause an NPE during prefetch:
28 Apr 2014 05:35:28,574 ERROR [org.teiid.PROCESSOR] (http-CA31/141.202.65.31:30804-2) eA83y/9ZGnji TEIID30019 Unexpected exception for request eA83y/9ZGnji.6: java.lang.NullPointerException
at org.teiid.query.processor.relational.SourceState.prefetch(SourceState.java:203)
at org.teiid.query.processor.relational.JoinNode.prefetch(JoinNode.java:231)
at org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:223)
This is an oversight in that we generally are expecting an equi-join (which would incorporate the dup removal processing) or marking the dup remove as dup remove sort (the fully blocking variant).