[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1603) BQT Query not returning expected row count

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue May 24 16:48:01 EDT 2011


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

Steven Hawkins resolved TEIID-1603.
-----------------------------------

    Fix Version/s: 7.4.1
       Resolution: Done


Corrected the rewrite logic.

> BQT Query not returning expected row count
> ------------------------------------------
>
>                 Key: TEIID-1603
>                 URL: https://issues.jboss.org/browse/TEIID-1603
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.4
>         Environment: Running BQT Query Suite against Teiid 7.4
>            Reporter: Warren Gibson
>            Assignee: Steven Hawkins
>            Priority: Critical
>             Fix For: 7.4.1
>
>         Attachments: RDBMS_Test_Queries_9600_TestQuery63.xml
>
>
> Teiid 7.4 - the following query is returning no rows but the expected row count is 47 rows.  This was tested with MySql50 and Teradata12.  I verified the query produced 47 rows with SOA-P 5.1 GA.  See expected query results file attached.  VDB can be made available if needed.
> SELECT INTKEY, DATEVALUE, BYTENUM FROM BQT1.SmallA WHERE DATEVALUE <> ANY (SELECT DATEVALUE FROM BQT1.SmallA WHERE BYTENUM >= '-108')
> The source query from the log file is:
> SELECT cast(g_0.INTKEY AS signed) AS c_0, g_0.DATEVALUE AS c_1, g_0.BYTENUM AS c_2 FROM smalla AS g_0 WHERE g_0.DATEVALUE NOT IN (SELECT g_1.DATEVALUE FROM smalla AS g_1 WHERE g_1.BYTENUM >= -108) LIMIT 100

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list