[teiid-issues] [JBoss JIRA] Closed: (TEIID-921) Queries containing a UNION with an ORDER BY are producing unexpected results in CTC Query Testing

Steve Hawkins (JIRA) jira-events at lists.jboss.org
Fri Jun 11 10:32:39 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Hawkins closed TEIID-921.
-------------------------------



> Queries containing a UNION with an ORDER BY are producing unexpected results in CTC Query Testing 
> --------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-921
>                 URL: https://jira.jboss.org/browse/TEIID-921
>             Project: Teiid
>          Issue Type: Bug
>          Components: Integration Tests
>    Affects Versions: 7.0
>            Reporter: Warren Gibson
>            Assignee: Steven Hawkins
>
> I am getting unexpected results (all sources) on 17 queries containing a UNION and ORDER BY.  The ORDER BY isn't working when there is a UNION involved.  These queries were producing expected results prior to the holidays.  Below is a sample query:
> RDBMS_Test_Queries_6500_TestQuery32" value="SELECT StringKey FROM BQT1.SmallA WHERE IntKey >= 0 AND IntKey < 15 UNION SELECT StringKey FROM BQT1.SmallB WHERE IntKey >= 10 AND IntKey < 30 ORDER BY StringKey DESC
> The interesting thing is the queries do work with a UNION ALL.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list