AssertionError with Teiid order by over pushed group by
-------------------------------------------------------
Key: TEIID-1949
URL:
https://issues.jboss.org/browse/TEIID-1949
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.6
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.7
With a user query similar to:
SELECT DB.Address, DB.City, count(*) as Count FROM "Emp"."persons" as
DB
GROUP BY DB.Address, DB.City
ORDER BY DB.City
If the grouping is pushed, but the order by is not an AssertionError will occur:
java.lang.AssertionError: Assertion failed.
at org.teiid.core.util.Assertion.failed(Assertion.java:73)
at org.teiid.core.util.Assertion.assertTrue(Assertion.java:68)
at org.teiid.core.util.Assertion.assertTrue(Assertion.java:60)
at
org.teiid.query.processor.relational.SortUtility.<init>(SortUtility.java:145)
It does not occur if neither or both are pushed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: