You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/05 21:53:27 UTC

[jira] [Commented] (USERGRID-1099) Order of operations error in Query Execution

    [ https://issues.apache.org/jira/browse/USERGRID-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992453#comment-14992453 ] 

ASF GitHub Bot commented on USERGRID-1099:
------------------------------------------

GitHub user snoopdave opened a pull request:

    https://github.com/apache/usergrid/pull/428

    Query order of operations error

    Fix for https://issues.apache.org/jira/browse/USERGRID-1099

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/usergrid usergrid-1099

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid/pull/428.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #428
    
----
commit c776a2fb34d76f5cd779009a200ab8cf1e288b5d
Author: Dave Johnson <sn...@apache.org>
Date:   2015-11-05T18:58:07Z

    Fix in UnionScanColumn comparator fixes order or operations error https://issues.apache.org/jira/browse/USERGRID-1099

commit d37be7066db054688dc85c3a9b497d51acb07138
Author: Dave Johnson <sn...@apache.org>
Date:   2015-11-05T19:20:36Z

    Merge branch '1.x' into usergrid-1099

----


> Order of operations error in Query Execution
> --------------------------------------------
>
>                 Key: USERGRID-1099
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1099
>             Project: Usergrid
>          Issue Type: Bug
>            Reporter: David Johnson
>            Assignee: David Johnson
>
> I have a test that shows that queries of this form work:
> C = c and ( A > a or B = false )
> But the very same query formed like this will not work properly:
> ( A > a or B = false ) and C = c



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