[teiid-issues] [JBoss JIRA] Resolved: (TEIID-539) Add UnitTest coverage for BetweenCriteria to be rewritten as CompoundCriteria

Larry O'Leary (JIRA) jira-events at lists.jboss.org
Wed Apr 29 16:17:46 EDT 2009


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

Larry O'Leary resolved TEIID-539.
---------------------------------

    Fix Version/s: 6.1.0
       Resolution: Done


Added test cases from JBEDSP-1029.

> Add UnitTest coverage for BetweenCriteria to be rewritten as CompoundCriteria
> -----------------------------------------------------------------------------
>
>                 Key: TEIID-539
>                 URL: https://jira.jboss.org/jira/browse/TEIID-539
>             Project: Teiid
>          Issue Type: Task
>          Components: Query Engine
>    Affects Versions: 6.1.0
>            Reporter: Larry O'Leary
>            Assignee: Larry O'Leary
>            Priority: Minor
>             Fix For: 6.1.0
>
>
> Test cases need to be added to cover testing of BETWEEN expressions being rewritten as compound criteria.  For example:
> SELECT SUM(CASE WHEN e2 BETWEEN 3 AND 5 THEN e2 ELSE -1 END) FROM pm1.g1
> should become:
> SELECT SUM(CASE WHEN (e2 >= 3) AND (e2 <= 5) THEN e2 ELSE -1 END) FROM pm1.g1

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