[teiid-issues] [JBoss JIRA] (TEIID-2500) Rewrite of case with true condition is not correct

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon May 13 10:29:06 EDT 2013


Steven Hawkins created TEIID-2500:
-------------------------------------

             Summary: Rewrite of case with true condition is not correct
                 Key: TEIID-2500
                 URL: https://issues.jboss.org/browse/TEIID-2500
             Project: Teiid
          Issue Type: Feature Request
          Components: Query Engine
    Affects Versions: 6.0.0
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
            Priority: Critical
             Fix For: 8.4


If a secondary searched case condition is always true, then the case will be inappropriately rewritten as just the then expression:

case when ... when true then x else y end

becomes just

x

However the prior cases should still be considered.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list