You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2016/09/02 16:35:20 UTC

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

Jason Huynh created GEODE-1840:
----------------------------------

             Summary: 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
            Reporter: Jason Huynh


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)