[teiid-issues] [JBoss JIRA] Created: (TEIID-1136) MySql 50 OUTER JOIN - Unexpected Query Results

Warren Gibson (JIRA) jira-events at lists.jboss.org
Mon Jun 28 15:41:46 EDT 2010


MySql 50 OUTER JOIN - Unexpected Query Results  
------------------------------------------------

                 Key: TEIID-1136
                 URL: https://jira.jboss.org/browse/TEIID-1136
             Project: Teiid
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: 7.1
         Environment: Teiid 7.1 running query test suite
MySql 5.0

            Reporter: Warren Gibson
            Assignee: Steve Hawkins


Receiving unexpected query results on the following query in MySQL 5.0:

Query:  SELECT BQT2.SmallA.IntNum, BQT2.MediumB.IntNum FROM BQT2.SmallA FULL OUTER JOIN BQT2.MediumB ON BQT2.SmallA.IntNum = BQT2.MediumB.IntNum ORDER BY BQT2.SmallA.IntNum, BQT2.MediumB.IntNum

Database:  jdbc:mysql://SLNTDS03.mm.atl2.redhat.com:3306/bqt2

Driver:  mysql-connector-java-5.1.5

Expected results is 1007 records but MySQL is returning 1006.  There are also some other issues.  

It appears (MediumB.IntNum = 26) is not being returned but it is expected and does exist in MediumB.IntNum.   In addition one row is returning -21 when we expect -8 and many rows are returning "null" for MediumB.IntNum when we are expecting a value.   

I am attaching the log file, actual results file, expected results file, and the VDB.


-- 
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