-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
DV Sprint 61
-
0.5
A query in the form of:
SELECT (call proc())
is resulting in an npe:
java.lang.NullPointerException at org.teiid.query.optimizer.relational.rules.RulePlanSubqueries.planMergeJoin(RulePlanSubqueries.java:272) at org.teiid.query.optimizer.relational.rules.RulePlanSubqueries.processSubqueries(RulePlanSubqueries.java:232) at org.teiid.query.optimizer.relational.rules.RulePlanSubqueries.execute(RulePlanSubqueries.java:193) at org.teiid.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:1101)
Until relatively recently we disallowed queries from having subqueries if there was no from clause. That change was checked against regular subqueries, but apparently not procedure subqueries.