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

Warren Gibson (JIRA) jira-events at lists.jboss.org
Tue Jan 5 15:15:30 EST 2010


Queries containing a UNION with an ORDER BY are producing unexpected results in CTC Query Testing 
--------------------------------------------------------------------------------------------------

                 Key: TEIID-921
                 URL: https://jira.jboss.org/jira/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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list