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

Add has steps injected by PartitionStrategy at the end of the filter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.5.5
    • 3.7.0, 3.6.3, 3.5.6
    • process
    • None

    Description

      Currently, PartitionStrategy will add the HasStep for the partition key right after the step that triggers is, like:

      g.V().hasLabel("person") -> g.V().has("_p","A").hasLabel("person") 
      

      It seems better in these cases to be slightly less invasive to the traversal and push the partition has to the end to therefore preserve the order of the previous filters:

      g.V().hasLabel("person") -> g.V().hasLabel("person").has("_p","A")
      

      This change probably matters most to Vertex and Edge read steps.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: