[
https://jira.jboss.org/jira/browse/TEIID-1009?page=com.atlassian.jira.plu...
]
Steven Hawkins resolved TEIID-1009.
-----------------------------------
Fix Version/s: 7.0
Resolution: Done
The alias generator was placing unrelated order bys in alias symbols, which caused their
short names (which typically referenced another derived column) to be used. Fixed with a
check to see if the item is unrelated.
BQT Pushdown query "ORDER BY" is not always ordering
results properly
---------------------------------------------------------------------
Key: TEIID-1009
URL:
https://jira.jboss.org/jira/browse/TEIID-1009
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.0
Reporter: Warren Gibson
Assignee: Steven Hawkins
Fix For: 7.0
Pushdown queries with "ORDER BY" are not always returning results in correct
order. The below query is returning query results in the wrong order for Pushdown on DB2,
MySql, Ora9-10-11, and SqlServer sources. If BQT1.SmallA.StringKey is placed in the
SELECT clause the results are returned in the correct order.
SELECT BQT1.SmallA.IntNum, BQT2.SmallB.StringNum FROM BQT1.SmallA, BQT2.SmallB WHERE
BQT1.SmallA.IntNum = BQT2.SmallB.StringNum AND BQT1.SmallA.IntKey >= 5 AND
BQT2.SmallB.IntKey >= 5 ORDER BY BQT1.SmallA.StringKey
--
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