You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2016/10/01 22:23:28 UTC

[jira] [Updated] (GEODE-1840) Certain map queries combine OR predicates into an AND junction

     [ https://issues.apache.org/jira/browse/GEODE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapnil Bawaskar updated GEODE-1840:
------------------------------------
    Fix Version/s: 1.0.0-incubating

> Certain map queries combine OR predicates into an AND junction
> --------------------------------------------------------------
>
>                 Key: GEODE-1840
>                 URL: https://issues.apache.org/jira/browse/GEODE-1840
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Jason Huynh
>            Assignee: Jason Huynh
>             Fix For: 1.0.0-incubating
>
>
> The following query that uses a map index, will return an incorrect result because the or predicates will incorrectly be combines as AND clauses.  This error only happens in certain paths in the query engine.
> select * from /ExampleRegion er where er[‘codeNumber']=1 and er[‘src']='src_common' and (er[‘country']='JP' or er[‘country']='US')



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)