[ https://issues.apache.org/jira/browse/TINKERPOP-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Xia closed TINKERPOP-736. ------------------------------ Resolution: Won't Do Closing given [discussion|https://lists.apache.org/thread/om2m0phg25s83529p9w0gldmcxz7578h] - it can be reopened if there is expectation that there will be active work on this item. > Automatic Traversal rewriting > ----------------------------- > > Key: TINKERPOP-736 > URL: https://issues.apache.org/jira/browse/TINKERPOP-736 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.0.2-incubating > Reporter: Matthias Broecheler > Priority: Minor > > Currently, Matchstep expects the pattern to be defined in terms of normalized > traversals, that is, only the start and end of the traversal can be variables. > In order to be able to write some patterns more concisely, it would be nice > if something like this were allowed: > {code} > match('a', > as('a').out('knows').as('b').out('knows').as('c'), > as('c').out('knows').as('a') > {code} > which could be easily decomposed into the normalized form: > {code} > match('a', > as('a').out('knows').as('b'), > as('b').out('knows').as('c'), > as('c').out('knows').as('a') > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)