[teiid-issues] [JBoss JIRA] (TEIID-2946) NPE with a join and a dup_remove child

Steven Hawkins (JIRA) issues at jboss.org
Tue Jul 22 11:07:34 EDT 2014


     [ https://issues.jboss.org/browse/TEIID-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins closed TEIID-2946.
---------------------------------



> NPE with a join and a dup_remove child
> --------------------------------------
>
>                 Key: TEIID-2946
>                 URL: https://issues.jboss.org/browse/TEIID-2946
>             Project: Teiid
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Query Engine
>    Affects Versions: 8.7
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Critical
>             Fix For: 8.8, 8.7.1
>
>
> A plan structure such as:
> {code}
> JoinNode ... [CROSS JOIN]
>    ...
>    SortNode ... [DUP_REMOVE] 
> {code}
> Will cause an NPE during prefetch:
> {code}
> 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)
> {code}
> 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).



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the teiid-issues mailing list