[
https://issues.apache.org/jira/browse/TINKERPOP-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137530#comment-18137530
]
ASF GitHub Bot commented on TINKERPOP-3256:
-------------------------------------------
Cole-Greer opened a new pull request, #3763:
URL: https://github.com/apache/tinkerpop/pull/3763
https://issues.apache.org/jira/browse/TINKERPOP-3256
Implement ISO GQL quantified-relationship syntax (a)-[r:label]->{m,n}(b) in
the TinkerGQL MATCH string form, with the {m}, {m,}, and + quantifier forms,
across directed, reverse, and undirected edges. Matching uses TRAIL semantics
(no repeated edge within a walk) and emits at every depth in the range; the
edge variable binds to the ordered List of traversed edges.
Grammar, model, planner, and the native DFS executor are extended for the
new syntax, with conformance scenarios, reference docs, and a CHANGELOG entry.
Known limitations (documented): quantified edges are forward-expansion only
(a quantified edge closing a pattern cycle raises an error), zero-length forms
(*, {0,n}, {,n}) are not yet supported, and edge uniqueness is enforced
per-walk rather than across the whole match.
> Variable-length path patterns
> -----------------------------
>
> Key: TINKERPOP-3256
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3256
> Project: TinkerPop
> Issue Type: Improvement
> Components: gql
> Affects Versions: 4.0.0
> Reporter: Stephen Mallette
> Priority: Major
>
> Patterns like (a)-[:knows*1..3]->(b) are not supported. Add quantified edge
> syntax to GQL.g4 and the executor.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)