[ 
https://issues.apache.org/jira/browse/TINKERPOP-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353408#comment-15353408
 ] 

pieter martin commented on TINKERPOP-1349:
------------------------------------------

I did not know that the `RepeatStep` is a barrier step. The documentation does 
not mention it.
Sqlg also unrolls repeat steps but never inserted barrier steps.
Are you be able to write a sudo test that fails if the barrier steps are not 
inserted and I'll test it?

> RepeatUnrollStrategy should unroll loops while maintaining equivalent 
> semantics.
> --------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1349
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1349
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.2.0-incubating
>
>
> Create {{RepeatUnrollStrategy}} that will unroll patterns such as:
> {code}
> repeat(out()).times(3)
> // ->
> out().barrier().out().barrier().out().barrier()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to