You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/08 22:07:00 UTC

[jira] [Commented] (TINKERPOP-2124) InlineFilterStrategy produces wrong result

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

ASF GitHub Bot commented on TINKERPOP-2124:
-------------------------------------------

dkuppitz commented on pull request #1030: TINKERPOP-2124 Fixed and/or folding in `InlineFilterStrategy`.
URL: https://github.com/apache/tinkerpop/pull/1030
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2124
   
   Fixed the bug, added a test case.
   
   `docker/build.sh -t -i -n` passed.
   
   VOTE +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> InlineFilterStrategy produces wrong result
> ------------------------------------------
>
>                 Key: TINKERPOP-2124
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2124
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.3.4
>            Reporter: Daniel Kuppitz
>            Assignee: Daniel Kuppitz
>            Priority: Major
>
> {noformat}
> gremlin> g.V().hasLabel("person").
>            or(and(has("age",gt(20)),
>                   has("age",lt(30))),
>               and(has("age",gt(35)),
>                   has("age",lt(40)))).
>          explain()
> ==>Traversal Explanation
> =========================================================================================================================================================================================================
> Original Traversal                 [GraphStep(vertex,[]), HasStep([~label.eq(person)]), OrStep([[AndStep([[HasStep([age.gt(20)])], [HasStep([age.lt(30)])]])], [AndStep([[HasStep([age.gt(35)])], [HasSte
>                                       p([age.lt(40)])]])]])]
> ConnectiveStrategy           [D]   [GraphStep(vertex,[]), HasStep([~label.eq(person)]), OrStep([[AndStep([[HasStep([age.gt(20)])], [HasStep([age.lt(30)])]])], [AndStep([[HasStep([age.gt(35)])], [HasSte
>                                       p([age.lt(40)])]])]])]
> CountStrategy                [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person)]), OrStep([[AndStep([[HasStep([age.gt(20)])], [HasStep([age.lt(30)])]])], [AndStep([[HasStep([age.gt(35)])], [HasSte
>                                       p([age.lt(40)])]])]])]
> MatchPredicateStrategy       [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person)]), OrStep([[AndStep([[HasStep([age.gt(20)])], [HasStep([age.lt(30)])]])], [AndStep([[HasStep([age.gt(35)])], [HasSte
>                                       p([age.lt(40)])]])]])]
> FilterRankingStrategy        [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person)]), OrStep([[AndStep([[HasStep([age.gt(20)])], [HasStep([age.lt(30)])]])], [AndStep([[HasStep([age.gt(35)])], [HasSte
>                                       p([age.lt(40)])]])]])]
> InlineFilterStrategy         [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> IncidentToAdjacentStrategy   [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> AdjacentToIncidentStrategy   [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> RepeatUnrollStrategy         [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> PathRetractionStrategy       [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> LazyBarrierStrategy          [O]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> TinkerGraphCountStrategy     [P]   [GraphStep(vertex,[]), HasStep([~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> TinkerGraphStepStrategy      [P]   [TinkerGraphStep(vertex,[~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> ProfileStrategy              [F]   [TinkerGraphStep(vertex,[~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> StandardVerificationStrategy [V]   [TinkerGraphStep(vertex,[~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> Final Traversal                    [TinkerGraphStep(vertex,[~label.eq(person), age.or(gt(20), lt(30), gt(35), lt(40))])]
> {noformat}



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