[
https://issues.apache.org/jira/browse/TINKERPOP-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145992#comment-18145992
]
ASF GitHub Bot commented on TINKERPOP-3256:
-------------------------------------------
Cole-Greer commented on code in PR #3763:
URL: https://github.com/apache/tinkerpop/pull/3763#discussion_r4594113175
##########
gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/map/MatchString.feature:
##########
@@ -320,3 +320,512 @@ Feature: Step - match() (String form)
| result |
| marko knows vadas |
| marko knows josh |
+
+ Scenario: g_match_personXknows_1_2X_person_selectXa_bX_byXnameX
+ Given the modern graph
+ And the traversal of
+ """
+ g.match("MATCH
(a:person)-[:knows]->{1,2}(b:person)").select("a","b").by("name")
+ """
+ When iterated to list
+ Then the result should be unordered
+ | result |
+ | m[{"a":"marko","b":"vadas"}] |
+ | m[{"a":"marko","b":"josh"}] |
+
+ Scenario: g_match_airportXroute_1_2X_airport_selectXbX_byXnameX
Review Comment:
That's a bit of a miss on my part, I had started this work before air-routes
was wired into the feature tests. I've updated all of these scenarios to use
air-routes and other existing graphs wherever possible.
> 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)