[
https://issues.apache.org/jira/browse/TINKERPOP-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143118#comment-18143118
]
ASF GitHub Bot commented on TINKERPOP-3256:
-------------------------------------------
spmallette commented on code in PR #3763:
URL: https://github.com/apache/tinkerpop/pull/3763#discussion_r4542391711
##########
CHANGELOG.asciidoc:
##########
@@ -38,6 +37,10 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Removed automatic persistence from `TinkerMemoryGraph`, which is now purely
in-memory and ignores `gremlin.tinkergraph.graphLocation`/`graphFormat`. Use
`TinkerStorageGraph` for durability or `g.io()` for interchange.
* Fixed `CountStrategy` so that it no longer adds a `limit()` before
`count().is(P)` when the capped count can pass the predicate and is then
observed downstream, e.g. `out().count().is(gt(2))`.
* Removed the per-request `userAgent` option from all drivers so the user
agent is sent only as the `User-Agent` header controlled by
`enableUserAgentOnConnect`.
+* Added variable-length path patterns to TinkerGQL using quantified
relationships such as `(a)-[:knows]->{1,3}(b)`.
+* Changed `GqlExecutor.execute()` to return `Iterator<GqlRow>`, a new public
row type, instead of `Iterator<Element[]>` so that a result row can carry the
edge list bound to a quantified relationship variable. *(breaking)*
+* Fixed TinkerGQL `match()` to close the provider iterators it opens when the
match is exhausted or reset, and when the traversal is closed, including when
it finishes early because of a downstream `limit()`.
Review Comment:
a bit oddly specific for CHANGELOG, but probably ok.
> 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)