[teiid-issues] [JBoss JIRA] (TEIID-2380) Planning failure with update subquery compensation with agg comparision
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Wed Feb 6 13:03:51 EST 2013
[ https://issues.jboss.org/browse/TEIID-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-2380.
-----------------------------------
Resolution: Done
Updated the rewrite to use the same symbols from the select in the order by, just as the normal resolving path does.
> Planning failure with update subquery compensation with agg comparision
> -----------------------------------------------------------------------
>
> Key: TEIID-2380
> URL: https://issues.jboss.org/browse/TEIID-2380
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.3
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.3
>
>
> An update of the form:
> delete from pm3.g1 where e1 = (SELECT MAX(e1) FROM pm3.g1 as z where e2 = pm3.g1.e2)
> Such that the subquery cannot be pushed will result in the unaliased max being known by two different names which results in an AssertionError in the SortNode initialization.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list