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

SubgraphStrategy in OLAP

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.8, 3.3.2
    • Component/s: process
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: