You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sandeep Chada (JIRA)" <ji...@apache.org> on 2019/01/22 02:28:00 UTC

[jira] [Created] (CALCITE-2793) GeodeFilter is unable to handle predicates with where with Or And

Sandeep Chada created CALCITE-2793:
--------------------------------------

             Summary: GeodeFilter is unable to handle predicates with where with Or And
                 Key: CALCITE-2793
                 URL: https://issues.apache.org/jira/browse/CALCITE-2793
             Project: Calcite
          Issue Type: Bug
          Components: geode
            Reporter: Sandeep Chada
            Assignee: Julian Hyde


If we pass a filter with combination of OR , AND GeodeFilter is unable to parse the query, instead it removes all the where clauses and ends up fetching the data from the entire region.

The query can be like below

(a = 1 OR a > 2) AND b = 4

This is scenario is documented as a TODO in GeodeBookStoreTest function name testWhereWithOrAnd

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)