You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2023/02/03 20:30:00 UTC
[jira] [Created] (TINKERPOP-2865) Add has steps injected by PartitionStrategy at the end of the filter
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)