Stephen Mallette created TINKERPOP-2865:
-------------------------------------------

             Summary: Add has steps injected by PartitionStrategy at the end of 
the filter
                 Key: TINKERPOP-2865
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2865
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.5.5
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


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

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

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:

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

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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to