[teiid-issues] [JBoss JIRA] Resolved: (TEIID-849) subquery as input to procedure fails
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Mon Sep 28 17:12:49 EDT 2009
[ https://jira.jboss.org/jira/browse/TEIID-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-849.
----------------------------------
Resolution: Done
There were really two issues here. 1 was a simple fix to resolving, the other was more involved and involved insuring that the external contexts were used during parameter evaluation before switching over to the procedure's temptablestore
> subquery as input to procedure fails
> ------------------------------------
>
> Key: TEIID-849
> URL: https://jira.jboss.org/jira/browse/TEIID-849
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 6.0.0
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 6.3
>
>
> A subquery as an input to a procedure (exec) will fail because it is never resolved. Also within the scope of a procedure something like:
> select e1 into #t1 from pm1.g1;
> select e2 from (exec pm1.sq2((select max(e1) from #t1))) x;
> will fail since the temp table store is not known inside the procedure plan that is evaluating the input parameters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list