[
https://issues.apache.org/jira/browse/TINKERPOP-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687088#comment-17687088
]
ASF GitHub Bot commented on TINKERPOP-2865:
-------------------------------------------
spmallette merged PR #1962:
URL: https://github.com/apache/tinkerpop/pull/1962
> 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
> Priority: Major
>
> 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)