Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1586

SubgraphStrategy in OLAP

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.3
    • 3.2.8, 3.3.2
    • process
    • None

    Description

      If a vertex filter is provided in SubgraphStrategy, then it will turn any edge step in the traversal into something like:

      ...outE().filter(inV().vertexFilterCondittion())
      

      This breaks any OLAP traversal (leaving the star graph) and is not even the behavior that you would always want. We should have an option to disable the adjacent vertex checks. In code this would just mean to replace this else: https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java#L92
      ...with else if (checkAdjacentVertices).

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              dkuppitz Daniel Kuppitz
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: