[teiid-issues] [JBoss JIRA] (TEIID-3011) rewrite skipped

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Sep 24 13:09:04 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005808#comment-13005808 ] 

RH Bugzilla Integration commented on TEIID-3011:
------------------------------------------------

jolee at redhat.com changed the Status of [bug 1110409|https://bugzilla.redhat.com/show_bug.cgi?id=1110409] from MODIFIED to CLOSED

> rewrite skipped
> ---------------
>
>                 Key: TEIID-3011
>                 URL: https://issues.jboss.org/browse/TEIID-3011
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.7
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.7, 8.4.3, 8.7.1
>
>
> The rewrite of a set predicate is being bypassed when all of the in values are constants, but when pushed through a view with a convert on the left expression there is still optimizations that can be performed.
> For example:
> select * from (select e1, e2 from pm1.g1 union all select convert(e2, string), e2 from pm1.g2) x where e1 in ('1', '2')
> such that e1 is string and e2 is integer, we expect that the second branch will have criteria of the form "e2 in (1, 2)" - with no conversion.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list