]
Steven Hawkins resolved TEIID-1680.
-----------------------------------
Resolution: Done
Updated the validation and planner logic to allow correlated grouping expressions.
issues with correlation and aggregation
---------------------------------------
Key: TEIID-1680
URL:
https://issues.jboss.org/browse/TEIID-1680
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.10
subqueries used in the having/select clause of a query with grouping only understand
correlated element symbols - not correlated grouping expressions or correlated aggregate
values.
If a nested aggregate contains only outer references, then it should be treated as a
correlated value.