[teiid-issues] [JBoss JIRA] (TEIID-2936) Combining multiple 'in' criteria can prevent pushing criteria to database

Steven Hawkins (JIRA) issues at jboss.org
Mon Oct 12 14:58:00 EDT 2015


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

Steven Hawkins resolved TEIID-2936.
-----------------------------------
    Resolution: Done


Made a small update in 8.12 to make the ordering of the in values consistent - the original change effectively reversed them "x in (1,2,3,4)" could become "x in (3, 4) or x in (1, 2)" 

> Combining multiple 'in' criteria can prevent pushing criteria to database
> -------------------------------------------------------------------------
>
>                 Key: TEIID-2936
>                 URL: https://issues.jboss.org/browse/TEIID-2936
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>    Affects Versions: 8.7
>            Reporter: Mike Higgins
>            Assignee: Steven Hawkins
>             Fix For: 8.7.1.6_2, 8.8
>
>
> When two 'in' criteria containing constant values on the same field are combined with an 'or', Teiid will combine the two into a single 'in' operation.
> Since Oracle (for example)  has a 1000 item limit on the 'in' values, if the resulting combined list contains more than 1000 values, it can no longer be pushed down into Oracle for execution.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list