Project Number Date
cypher-for-gremlin 1.0.0 02 Mar 2019, 16:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
VarLengthAcceptance 160 1 0 0 0 161 30 1 31 0.939 Failed
Feature VarLengthAcceptance
0.018
Given an empty graph 0.000

16:49:26.748 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.018
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.750 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.750 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.760 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.014
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*]->(c)
RETURN c.name

16:49:26.780 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.780 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*]->(c) RETURN c.name 16:49:26.783 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').repeat(__.outE('LIKES').as(' UNNAMED22').inV()).emit().until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(21))).as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.010

16:49:26.784 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.784 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:26.786 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:26.786 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.786 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:26.788 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:26.789 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.789 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:26.790 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:26.790 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.791 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.024
Given an empty graph 0.000

16:49:26.794 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.024
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.795 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.795 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.805 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.017
When executing query: 0.004
MATCH (a:A)
MATCH (a)-[:LIKES*..]->(c)
RETURN c.name

16:49:26.831 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*..]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.831 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*..]->(c) RETURN c.name 16:49:26.834 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').repeat(__.outE('LIKES').as(' UNNAMED22').inV()).emit().until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(21))).as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.012

16:49:26.836 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.836 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:26.838 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:26.838 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.839 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:26.840 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:26.840 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.840 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:26.843 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:26.843 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.844 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.023
Given an empty graph 0.000

16:49:26.849 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.023
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.850 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.850 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.866 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.015
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES..]->(c)
RETURN c.name

16:49:26.887 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES..]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.888 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES..]->(c) RETURN c.name 16:49:26.889 [gremlin-server-worker-1] WARN o.a.t.g.s.h.OpExecutorHandler - Invalid input '.': expected an identifier character, whitespace, '|', a length specification, a property map or ']' (line 2, column 18 (offset: 29)) org.opencypher.v9_0.util.SyntaxException: Invalid input '.': expected an identifier character, whitespace, '|', a length specification, a property map or ']' (line 2, column 18 (offset: 29)) at org.opencypher.v9_0.parser.Base$$anonfun$parseOrThrow$1.apply(Base.scala:139) at org.opencypher.v9_0.parser.Base$$anonfun$parseOrThrow$1.apply(Base.scala:127) at scala.collection.immutable.List.map(List.scala:284) at org.opencypher.v9_0.parser.Base$class.parseOrThrow(Base.scala:127) at org.opencypher.v9_0.parser.CypherParser.parseOrThrow(CypherParser.scala:22) at org.opencypher.v9_0.parser.CypherParser.parse(CypherParser.scala:29) at org.opencypher.v9_0.frontend.phases.Parsing$.process(Parsing.scala:26) at org.opencypher.v9_0.frontend.phases.Parsing$.process(Parsing.scala:22) at org.opencypher.v9_0.frontend.phases.Phase$$anonfun$transform$1.apply(Phase.scala:35) at org.opencypher.v9_0.frontend.helpers.package$$anonfun$closing$1.apply(package.scala:23) at org.opencypher.v9_0.frontend.helpers.package$$anonfun$closing$1.apply(package.scala:23) at org.opencypher.v9_0.frontend.helpers.package$.using(package.scala:31) at org.opencypher.v9_0.frontend.helpers.package$.closing(package.scala:23) at org.opencypher.v9_0.frontend.phases.Phase$class.transform(Phase.scala:34) at org.opencypher.v9_0.frontend.phases.Parsing$.transform(Parsing.scala:22) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.gremlin.translation.CypherAst$.parse(CypherAst.scala:232) at org.opencypher.gremlin.translation.CypherAst$.parse(CypherAst.scala:217) at org.opencypher.gremlin.translation.CypherAst.parse(CypherAst.scala) at org.opencypher.gremlin.server.op.cypher.CypherOpProcessor.evalCypher(CypherOpProcessor.java:101) at org.apache.tinkerpop.gremlin.server.handler.OpExecutorHandler.channelRead0(OpExecutorHandler.java:68) at org.apache.tinkerpop.gremlin.server.handler.OpExecutorHandler.channelRead0(OpExecutorHandler.java:43) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:77) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler$1.channelRead(WebSocketServerProtocolHandler.java:204) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at java.lang.Thread.run(Thread.java:748)

Then a SyntaxError should be raised at compile time: InvalidRelationshipPattern 0.000
Then a SyntaxError should be raised at compile time: InvalidRelationshipPattern 0.012

16:49:26.890 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.890 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:26.892 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:26.893 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.893 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:26.895 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:26.896 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.896 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:26.898 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:26.899 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.900 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.016
Given an empty graph 0.000

16:49:26.903 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.016
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.904 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.904 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.913 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*0]->(c)
RETURN c.name

16:49:26.930 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*0]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.930 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*0]->(c) RETURN c.name 16:49:26.932 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(0).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0'
And no side effects 0.008

16:49:26.933 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.933 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:26.934 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:26.934 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.934 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:26.936 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:26.937 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.937 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:26.938 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:26.938 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.939 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.017
Given an empty graph 0.000

16:49:26.942 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.017
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.942 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.942 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.951 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.012
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*1]->(c)
RETURN c.name

16:49:26.970 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.970 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1]->(c) RETURN c.name 16:49:26.973 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(1).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
And no side effects 0.008

16:49:26.974 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.974 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:26.975 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:26.975 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.975 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:26.977 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:26.977 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.977 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:26.978 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:26.978 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.979 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.015
Given an empty graph 0.000

16:49:26.982 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.015
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:26.983 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:26.983 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:26.991 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*2]->(c)
RETURN c.name

16:49:27.008 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.008 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*2]->(c) RETURN c.name 16:49:27.010 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(2).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n000'
'n001'
'n010'
'n011'
And no side effects 0.008

16:49:27.011 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.011 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.012 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.012 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.012 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.014 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.014 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.014 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.015 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.016 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.017 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.015
Given an empty graph 0.000

16:49:27.020 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.015
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.021 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.021 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.029 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.012
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*0..2]->(c)
RETURN c.name

16:49:27.044 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*0..2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.044 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*0..2]->(c) RETURN c.name 16:49:27.046 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(5))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(between(0, 6))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0'
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
And no side effects 0.009

16:49:27.047 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.047 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.048 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.049 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.049 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.050 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.051 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.051 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.052 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.053 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.054 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.016
Given an empty graph 0.000

16:49:27.056 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.016
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.057 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.057 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.066 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*1..2]->(c)
RETURN c.name

16:49:27.084 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1..2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.084 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1..2]->(c) RETURN c.name 16:49:27.086 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(5))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(between(3, 6))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
And no side effects 0.008

16:49:27.087 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.087 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.088 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.088 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.089 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.090 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.090 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.090 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.091 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.092 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.093 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.015
Given an empty graph 0.000

16:49:27.095 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.015
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.096 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.096 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.105 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*0..0]->(c)
RETURN c.name

16:49:27.119 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*0..0]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.119 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*0..0]->(c) RETURN c.name 16:49:27.121 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(0).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0'
And no side effects 0.009

16:49:27.122 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.122 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.124 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.124 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.124 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.125 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.126 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.126 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.127 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.128 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.128 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.131 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.132 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.132 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.140 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.009
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*1..1]->(c)
RETURN c.name

16:49:27.154 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1..1]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.154 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1..1]->(c) RETURN c.name 16:49:27.156 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(1).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
And no side effects 0.007

16:49:27.156 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.156 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.157 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.158 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.158 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.159 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.159 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.159 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.160 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.161 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.161 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.164 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.164 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.165 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.172 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.010
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*2..2]->(c)
RETURN c.name

16:49:27.186 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*2..2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.187 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*2..2]->(c) RETURN c.name 16:49:27.188 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(2).repeat(__.outE('LIKES').as(' UNNAMED22').inV()).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n000'
'n001'
'n010'
'n011'
And no side effects 0.008

16:49:27.189 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.189 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.190 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.191 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.191 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.192 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.193 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.193 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.194 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.194 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.195 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.197 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.198 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.198 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.206 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.008
When executing query: 0.001
MATCH (a:A)
MATCH (a)-[:LIKES*-2]->(c)
RETURN c.name

16:49:27.219 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*-2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.220 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*-2]->(c) RETURN c.name 16:49:27.220 [gremlin-server-worker-1] WARN o.a.t.g.s.h.OpExecutorHandler - Invalid input '-': expected whitespace, RangeLiteral, a property map or ']' (line 2, column 19 (offset: 30)) org.opencypher.v9_0.util.SyntaxException: Invalid input '-': expected whitespace, RangeLiteral, a property map or ']' (line 2, column 19 (offset: 30)) at org.opencypher.v9_0.parser.Base$$anonfun$parseOrThrow$1.apply(Base.scala:139) at org.opencypher.v9_0.parser.Base$$anonfun$parseOrThrow$1.apply(Base.scala:127) at scala.collection.immutable.List.map(List.scala:284) at org.opencypher.v9_0.parser.Base$class.parseOrThrow(Base.scala:127) at org.opencypher.v9_0.parser.CypherParser.parseOrThrow(CypherParser.scala:22) at org.opencypher.v9_0.parser.CypherParser.parse(CypherParser.scala:29) at org.opencypher.v9_0.frontend.phases.Parsing$.process(Parsing.scala:26) at org.opencypher.v9_0.frontend.phases.Parsing$.process(Parsing.scala:22) at org.opencypher.v9_0.frontend.phases.Phase$$anonfun$transform$1.apply(Phase.scala:35) at org.opencypher.v9_0.frontend.helpers.package$$anonfun$closing$1.apply(package.scala:23) at org.opencypher.v9_0.frontend.helpers.package$$anonfun$closing$1.apply(package.scala:23) at org.opencypher.v9_0.frontend.helpers.package$.using(package.scala:31) at org.opencypher.v9_0.frontend.helpers.package$.closing(package.scala:23) at org.opencypher.v9_0.frontend.phases.Phase$class.transform(Phase.scala:34) at org.opencypher.v9_0.frontend.phases.Parsing$.transform(Parsing.scala:22) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.v9_0.frontend.phases.PipeLine.transform(Transformer.scala:59) at org.opencypher.gremlin.translation.CypherAst$.parse(CypherAst.scala:232) at org.opencypher.gremlin.translation.CypherAst$.parse(CypherAst.scala:217) at org.opencypher.gremlin.translation.CypherAst.parse(CypherAst.scala) at org.opencypher.gremlin.server.op.cypher.CypherOpProcessor.evalCypher(CypherOpProcessor.java:101) at org.apache.tinkerpop.gremlin.server.handler.OpExecutorHandler.channelRead0(OpExecutorHandler.java:68) at org.apache.tinkerpop.gremlin.server.handler.OpExecutorHandler.channelRead0(OpExecutorHandler.java:43) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:77) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler$1.channelRead(WebSocketServerProtocolHandler.java:204) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at java.lang.Thread.run(Thread.java:748)

Then a SyntaxError should be raised at compile time: InvalidRelationshipPattern 0.000
Then a SyntaxError should be raised at compile time: InvalidRelationshipPattern 0.007

16:49:27.221 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.221 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.222 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.222 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.222 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.223 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.224 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.224 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.225 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.225 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.226 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.228 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.013
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.229 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.229 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.236 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*2..1]->(c)
RETURN c.name

16:49:27.250 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*2..1]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.250 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*2..1]->(c) RETURN c.name 16:49:27.252 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(3))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(between(5, 4))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
And no side effects 0.008

16:49:27.254 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.254 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.255 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.256 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.256 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.257 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.257 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.257 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.259 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.259 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.260 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.262 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.263 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.263 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.271 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.013
When executing query: 0.004
MATCH (a:A)
MATCH (a)-[:LIKES*1..0]->(c)
RETURN c.name

16:49:27.286 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1..0]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.286 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1..0]->(c) RETURN c.name 16:49:27.288 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(0))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(between(3, 1))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
And no side effects 0.009

16:49:27.290 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.290 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.291 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.292 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.292 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.293 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.294 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.294 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.295 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.296 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.297 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.299 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.300 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.300 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.308 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.004
MATCH (a:A)
MATCH (a)-[:LIKES*..0]->(c)
RETURN c.name

16:49:27.323 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*..0]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.323 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*..0]->(c) RETURN c.name 16:49:27.325 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').repeat(__.outE('LIKES').as(' UNNAMED22').inV()).emit().until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(0))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(lte(0))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
And no side effects 0.007

16:49:27.328 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.328 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.329 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.329 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.329 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.330 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.330 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.331 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.332 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.332 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.333 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.015
Given an empty graph 0.000

16:49:27.335 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.015
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.335 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.336 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.344 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.010
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*..1]->(c)
RETURN c.name

16:49:27.362 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*..1]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.363 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*..1]->(c) RETURN c.name 16:49:27.365 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').repeat(__.outE('LIKES').as(' UNNAMED22').inV()).emit().until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(3))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(lte(3))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
And no side effects 0.008

16:49:27.365 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.365 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.367 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.367 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.367 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.368 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.368 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.368 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.370 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.370 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.371 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.020
Given an empty graph 0.000

16:49:27.373 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.020
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.374 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.374 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.388 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.014
When executing query: 0.004
MATCH (a:A)
MATCH (a)-[:LIKES*..2]->(c)
RETURN c.name

16:49:27.408 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*..2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.408 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*..2]->(c) RETURN c.name 16:49:27.411 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').repeat(__.outE('LIKES').as(' UNNAMED22').inV()).emit().until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(5))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(lte(5))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
And no side effects 0.009

16:49:27.412 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.412 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.414 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.414 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.414 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.416 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.416 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.416 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.417 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.418 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.419 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.422 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.422 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.423 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.431 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.012
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*0..]->(c)
RETURN c.name

16:49:27.445 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*0..]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.445 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*0..]->(c) RETURN c.name 16:49:27.447 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(21))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(0))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0'
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.009

16:49:27.448 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.448 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.449 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.450 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.450 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.451 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.452 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.452 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.453 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.454 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.454 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.458 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.458 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.458 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.466 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.010
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*1..]->(c)
RETURN c.name

16:49:27.480 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1..]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.480 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1..]->(c) RETURN c.name 16:49:27.482 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(21))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(3))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
'n000'
'n001'
'n010'
'n011'
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.007

16:49:27.483 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.483 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.484 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.485 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.485 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.486 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.486 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.486 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.487 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.488 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.488 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.491 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.491 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.491 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.499 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.013
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*2..]->(c)
RETURN c.name

16:49:27.514 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*2..]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.514 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*2..]->(c) RETURN c.name 16:49:27.516 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').emit().repeat(__.outE('LIKES').as(' UNNAMED22').inV()).until(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(21))).where(__.path().from(' cypher.path.start.GENERATED2').count(local).is(gte(5))).simplePath().from(' cypher.path.start.GENERATED2').as('c').optional(__.select(all, ' UNNAMED22').as(' UNNAMED22')).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n000'
'n001'
'n010'
'n011'
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.010

16:49:27.517 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.518 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.519 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.520 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.520 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.522 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.522 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.522 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.524 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.525 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.525 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.017
Given an empty graph 0.000

16:49:27.528 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.017
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.529 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.529 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.540 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.018
When executing query: 0.005
MATCH (a:A)
MATCH (a)-[:LIKES*0]->()-[:LIKES]->(c)
RETURN c.name

16:49:27.555 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*0]->()-[:LIKES]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.556 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*0]->()-[:LIKES]->(c) RETURN c.name 16:49:27.560 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(0).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED2').outE('LIKES').inV().project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
And no side effects 0.012

16:49:27.561 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.561 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.563 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.563 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.563 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.566 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.567 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.567 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.569 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.569 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.570 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.015
Given an empty graph 0.000

16:49:27.574 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.015
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.574 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.575 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.583 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.013
When executing query: 0.004
MATCH (a:A)
MATCH (a)-[:LIKES]->()-[:LIKES*0]->(c)
RETURN c.name

16:49:27.601 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*0]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.601 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*0]->(c) RETURN c.name 16:49:27.604 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').outE('LIKES').inV().as(' cypher.path.start.GENERATED3').times(0).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00'
'n01'
And no side effects 0.009

16:49:27.606 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.606 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.607 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.608 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.608 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.609 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.609 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.610 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.611 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.611 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.612 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.018
Given an empty graph 0.000

16:49:27.615 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.018
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.615 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.616 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.624 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES*1]->()-[:LIKES]->(c)
RETURN c.name

16:49:27.648 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*1]->()-[:LIKES]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.648 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*1]->()-[:LIKES]->(c) RETURN c.name 16:49:27.651 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(1).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED2').outE('LIKES').inV().project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n000'
'n001'
'n010'
'n011'
And no side effects 0.008

16:49:27.651 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.651 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.653 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.653 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.653 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.654 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.654 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.654 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.656 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.656 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.657 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.017
Given an empty graph 0.000

16:49:27.660 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.017
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.661 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.661 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.669 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES]->()-[:LIKES*1]->(c)
RETURN c.name

16:49:27.687 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*1]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.687 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*1]->(c) RETURN c.name 16:49:27.689 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').outE('LIKES').inV().as(' cypher.path.start.GENERATED3').times(1).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n000'
'n001'
'n010'
'n011'
And no side effects 0.008

16:49:27.690 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.690 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.691 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.691 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.691 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.693 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.693 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.693 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.694 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.694 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.695 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.017
Given an empty graph 0.000

16:49:27.698 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.017
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.699 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.699 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.707 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.011
When executing query: 0.002
MATCH (a:A)
MATCH (a)-[:LIKES*2]->()-[:LIKES]->(c)
RETURN c.name

16:49:27.725 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES*2]->()-[:LIKES]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.725 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES*2]->()-[:LIKES]->(c) RETURN c.name 16:49:27.727 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').as(' cypher.path.start.GENERATED2').times(2).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED2').outE('LIKES').inV().project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.008

16:49:27.728 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.728 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.729 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.729 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.729 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.731 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.731 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.731 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.732 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.732 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.733 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.736 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.737 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.737 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.745 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.012
When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES]->()-[:LIKES*2]->(c)
RETURN c.name

16:49:27.760 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.760 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*2]->(c) RETURN c.name 16:49:27.763 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').outE('LIKES').inV().as(' cypher.path.start.GENERATED3').times(2).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n0000'
'n0001'
'n0010'
'n0011'
'n0100'
'n0101'
'n0110'
'n0111'
And no side effects 0.009

16:49:27.763 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.763 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.765 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.765 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.765 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.767 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.767 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.767 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.768 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.769 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.769 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.018
Given an empty graph 0.000

16:49:27.773 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.018
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.774 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.774 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.782 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.019
And having executed: 0.008
MATCH (d:D)
CREATE (e1:E {name: d.name + '0'}),
       (e2:E {name: d.name + '1'})
CREATE (d)-[:LIKES]->(e1),
       (d)-[:LIKES]->(e2)

16:49:27.793 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.793 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2) 16:49:27.796 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('d').hasLabel('D').addV('E').as('e1').property(single, 'name', __.project(' GENERATED1', ' GENERATED2').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('0')).select(values).map(cypherPlus())).addV('E').as('e2').property(single, 'name', __.project(' GENERATED3', ' GENERATED4').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('1')).select(values).map(cypherPlus())).addE('LIKES').from('d').to('e1').addE('LIKES').from('d').to('e2').barrier().limit(0)

When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES]->()-[:LIKES*3]->(c)
RETURN c.name

16:49:27.810 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*3]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.811 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES]->()-[:LIKES*3]->(c) RETURN c.name 16:49:27.813 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').outE('LIKES').inV().as(' cypher.path.start.GENERATED3').times(3).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00000'
'n00001'
'n00010'
'n00011'
'n00100'
'n00101'
'n00110'
'n00111'
'n01000'
'n01001'
'n01010'
'n01011'
'n01100'
'n01101'
'n01110'
'n01111'
And no side effects 0.008

16:49:27.814 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.814 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.815 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.815 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.815 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.817 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.817 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.817 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.818 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.818 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.819 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.822 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.822 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.823 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.830 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.025
And having executed: 0.004
MATCH (a:A)-[r]->(b)
DELETE r
CREATE (b)-[:LIKES]->(a)

16:49:27.837 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A)-[r]->(b) DELETE r CREATE (b)-[:LIKES]->(a)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.837 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A)-[r]->(b) DELETE r CREATE (b)-[:LIKES]->(a) 16:49:27.839 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('a').hasLabel('A').outE().as('r').inV().as('b').barrier().sideEffect(__.select('r').aggregate(' cypher.delete.detach')).sideEffect(__.limit(0).aggregate(' cypher.delete.once')).barrier().sideEffect(__.coalesce(__.cap(' cypher.delete.once').unfold(), __.constant(true).aggregate(' cypher.delete.once').cap(' cypher.delete.detach').unfold().dedup().is(neq(' cypher.null')).drop())).addE('LIKES').from('b').to('a').barrier().limit(0)

And having executed: 0.007
MATCH (d:D)
CREATE (e1:E {name: d.name + '0'}),
       (e2:E {name: d.name + '1'})
CREATE (d)-[:LIKES]->(e1),
       (d)-[:LIKES]->(e2)

16:49:27.841 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.842 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2) 16:49:27.845 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('d').hasLabel('D').addV('E').as('e1').property(single, 'name', __.project(' GENERATED1', ' GENERATED2').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('0')).select(values).map(cypherPlus())).addV('E').as('e2').property(single, 'name', __.project(' GENERATED3', ' GENERATED4').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('1')).select(values).map(cypherPlus())).addE('LIKES').from('d').to('e1').addE('LIKES').from('d').to('e2').barrier().limit(0)

When executing query: 0.003
MATCH (a:A)
MATCH (a)<-[:LIKES]-()-[:LIKES*3]->(c)
RETURN c.name

16:49:27.861 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)<-[:LIKES]-()-[:LIKES*3]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.861 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)<-[:LIKES]-()-[:LIKES*3]->(c) RETURN c.name 16:49:27.864 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').inE('LIKES').outV().as(' cypher.path.start.GENERATED3').times(3).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00000'
'n00001'
'n00010'
'n00011'
'n00100'
'n00101'
'n00110'
'n00111'
'n01000'
'n01001'
'n01010'
'n01011'
'n01100'
'n01101'
'n01110'
'n01111'
And no side effects 0.009

16:49:27.865 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.865 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.866 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.867 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.867 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.868 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.869 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.869 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.870 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.870 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.871 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.014
Given an empty graph 0.000

16:49:27.874 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.875 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.875 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.883 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.016
Scenario Handling mixed relationship patterns and directions 2
Steps
And having executed: 0.004
MATCH (a)-[r]->(b)
WHERE NOT a:A
DELETE r
CREATE (b)-[:LIKES]->(a)

16:49:27.890 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a)-[r]->(b) WHERE NOT a:A DELETE r CREATE (b)-[:LIKES]->(a)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.890 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a)-[r]->(b) WHERE NOT a:A DELETE r CREATE (b)-[:LIKES]->(a) 16:49:27.892 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('a').outE().as('r').inV().as('b').where(__.not(__.select('a').hasLabel('A'))).barrier().sideEffect(__.select('r').aggregate(' cypher.delete.detach')).sideEffect(__.limit(0).aggregate(' cypher.delete.once')).barrier().sideEffect(__.coalesce(__.cap(' cypher.delete.once').unfold(), __.constant(true).aggregate(' cypher.delete.once').cap(' cypher.delete.detach').unfold().dedup().is(neq(' cypher.null')).drop())).addE('LIKES').from('b').to('a').barrier().limit(0)

And having executed: 0.007
MATCH (d:D)
CREATE (e1:E {name: d.name + '0'}),
       (e2:E {name: d.name + '1'})
CREATE (d)-[:LIKES]->(e1),
       (d)-[:LIKES]->(e2)

16:49:27.895 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.895 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2) 16:49:27.898 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('d').hasLabel('D').addV('E').as('e1').property(single, 'name', __.project(' GENERATED1', ' GENERATED2').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('0')).select(values).map(cypherPlus())).addV('E').as('e2').property(single, 'name', __.project(' GENERATED3', ' GENERATED4').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('1')).select(values).map(cypherPlus())).addE('LIKES').from('d').to('e1').addE('LIKES').from('d').to('e2').barrier().limit(0)

When executing query: 0.003
MATCH (a:A)
MATCH (a)-[:LIKES]->()<-[:LIKES*3]->(c)
RETURN c.name

16:49:27.911 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (a)-[:LIKES]->()<-[:LIKES*3]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.911 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (a)-[:LIKES]->()<-[:LIKES*3]->(c) RETURN c.name 16:49:27.913 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('a').hasLabel('A').outE('LIKES').as(' UNNAMED22').inV().as(' cypher.path.start.GENERATED3').times(3).repeat(__.bothE('LIKES').as(' UNNAMED35').otherV()).simplePath().from(' cypher.path.start.GENERATED3').as('c').dedup('a', ' UNNAMED22', ' cypher.path.start.GENERATED3', ' UNNAMED35', 'c').select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
org.opencypher.tools.tck.api.Scenario$ScenarioFailedException: Feature "VarLengthAcceptance": Scenario "Handling mixed relationship patterns and directions 2" failed with message: 
Expected (in any order of rows):
| c.name |
| 'n00000' |
| 'n00001' |
| 'n00010' |
| 'n00011' |
| 'n00100' |
| 'n00101' |
| 'n00110' |
| 'n00111' |
| 'n01000' |
| 'n01001' |
| 'n01010' |
| 'n01011' |
| 'n01100' |
| 'n01101' |
| 'n01110' |
| 'n01111' |
Actual:
| c.name |
| 'n00000' |
| 'n00001' |
| 'n00010' |
| 'n00011' |
| 'n00100' |
| 'n00101' |
| 'n00110' |
| 'n00111' |
| 'n010' |
| 'n011' |
| 'n01000' |
| 'n01001' |
| 'n01010' |
| 'n01011' |
| 'n000' |
| 'n001' |
| 'n01100' |
| 'n01101' |
| 'n01110' |
| 'n01111' |
	at org.opencypher.tools.tck.api.Scenario$$anonfun$executeOnGraph$1.apply(Scenario.scala:90)
	at org.opencypher.tools.tck.api.Scenario$$anonfun$executeOnGraph$1.apply(Scenario.scala:60)
	at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
	at scala.collection.immutable.List.foldLeft(List.scala:84)
	at org.opencypher.tools.tck.api.Scenario.executeOnGraph(Scenario.scala:60)
	at org.opencypher.tools.tck.api.Scenario$$anon$1.execute(Scenario.scala:54)
	at org.junit.jupiter.engine.descriptor.JupiterTestDescriptor.executeAndMaskThrowable(JupiterTestDescriptor.java:145)
	at org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor.execute(DynamicTestTestDescriptor.java:46)
	at org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor.execute(DynamicTestTestDescriptor.java:24)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$3(HierarchicalTestExecutor.java:83)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:77)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$null$0(HierarchicalTestExecutor.java:85)
	at org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.lambda$invokeTestMethod$1(TestFactoryTestDescriptor.java:80)
	at org.junit.jupiter.engine.execution.ThrowableCollector.execute(ThrowableCollector.java:40)
	at org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.invokeTestMethod(TestFactoryTestDescriptor.java:68)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:110)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$3(HierarchicalTestExecutor.java:83)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:77)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$null$2(HierarchicalTestExecutor.java:92)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$3(HierarchicalTestExecutor.java:92)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:77)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$null$2(HierarchicalTestExecutor.java:92)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$3(HierarchicalTestExecutor.java:92)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:77)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:51)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:43)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:170)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:154)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:90)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:92)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$100(JUnitPlatformTestClassProcessor.java:77)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:73)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
	at com.sun.proxy.$Proxy1.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:748)
c.name
'n00000'
'n00001'
'n00010'
'n00011'
'n00100'
'n00101'
'n00110'
'n00111'
'n01000'
'n01001'
'n01010'
'n01011'
'n01100'
'n01101'
'n01110'
'n01111'
0.014
Given an empty graph 0.000

16:49:27.915 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.014
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.915 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.915 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.923 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.020
And having executed: 0.005
MATCH (d:D)
CREATE (e1:E {name: d.name + '0'}),
       (e2:E {name: d.name + '1'})
CREATE (d)-[:LIKES]->(e1),
       (d)-[:LIKES]->(e2)

16:49:27.930 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.930 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2) 16:49:27.933 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('d').hasLabel('D').addV('E').as('e1').property(single, 'name', __.project(' GENERATED1', ' GENERATED2').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('0')).select(values).map(cypherPlus())).addV('E').as('e2').property(single, 'name', __.project(' GENERATED3', ' GENERATED4').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('1')).select(values).map(cypherPlus())).addE('LIKES').from('d').to('e1').addE('LIKES').from('d').to('e2').barrier().limit(0)

When executing query: 0.003
MATCH (a:A)
MATCH (p)-[:LIKES*1]->()-[:LIKES]->()-[r:LIKES*2]->(c)
RETURN c.name

16:49:27.945 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (p)-[:LIKES*1]->()-[:LIKES]->()-[r:LIKES*2]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.945 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (p)-[:LIKES*1]->()-[:LIKES]->()-[r:LIKES*2]->(c) RETURN c.name 16:49:27.948 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').V().as('p').times(1).repeat(__.outE('LIKES').inV()).simplePath().from('p').outE('LIKES').inV().as(' cypher.path.start.GENERATED3').times(2).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED3').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00000'
'n00001'
'n00010'
'n00011'
'n00100'
'n00101'
'n00110'
'n00111'
'n01000'
'n01001'
'n01010'
'n01011'
'n01100'
'n01101'
'n01110'
'n01111'
And no side effects 0.010

16:49:27.949 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.949 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:27.951 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:27.951 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.951 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:27.953 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:27.953 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.953 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:27.954 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:27.955 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.955 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0

0.018
Given an empty graph 0.000

16:49:27.959 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}}

And having executed: 0.018
CREATE (n0:A {name: 'n0'}),
       (n00:B {name: 'n00'}),
       (n01:B {name: 'n01'}),
       (n000:C {name: 'n000'}),
       (n001:C {name: 'n001'}),
       (n010:C {name: 'n010'}),
       (n011:C {name: 'n011'}),
       (n0000:D {name: 'n0000'}),
       (n0001:D {name: 'n0001'}),
       (n0010:D {name: 'n0010'}),
       (n0011:D {name: 'n0011'}),
       (n0100:D {name: 'n0100'}),
       (n0101:D {name: 'n0101'}),
       (n0110:D {name: 'n0110'}),
       (n0111:D {name: 'n0111'})
CREATE (n0)-[:LIKES]->(n00),
       (n0)-[:LIKES]->(n01),
       (n00)-[:LIKES]->(n000),
       (n00)-[:LIKES]->(n001),
       (n01)-[:LIKES]->(n010),
       (n01)-[:LIKES]->(n011),
       (n000)-[:LIKES]->(n0000),
       (n000)-[:LIKES]->(n0001),
       (n001)-[:LIKES]->(n0010),
       (n001)-[:LIKES]->(n0011),
       (n010)-[:LIKES]->(n0100),
       (n010)-[:LIKES]->(n0101),
       (n011)-[:LIKES]->(n0110),
       (n011)-[:LIKES]->(n0111)

16:49:27.960 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.960 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE (n0:A {name: 'n0'}), (n00:B {name: 'n00'}), (n01:B {name: 'n01'}), (n000:C {name: 'n000'}), (n001:C {name: 'n001'}), (n010:C {name: 'n010'}), (n011:C {name: 'n011'}), (n0000:D {name: 'n0000'}), (n0001:D {name: 'n0001'}), (n0010:D {name: 'n0010'}), (n0011:D {name: 'n0011'}), (n0100:D {name: 'n0100'}), (n0101:D {name: 'n0101'}), (n0110:D {name: 'n0110'}), (n0111:D {name: 'n0111'}) CREATE (n0)-[:LIKES]->(n00), (n0)-[:LIKES]->(n01), (n00)-[:LIKES]->(n000), (n00)-[:LIKES]->(n001), (n01)-[:LIKES]->(n010), (n01)-[:LIKES]->(n011), (n000)-[:LIKES]->(n0000), (n000)-[:LIKES]->(n0001), (n001)-[:LIKES]->(n0010), (n001)-[:LIKES]->(n0011), (n010)-[:LIKES]->(n0100), (n010)-[:LIKES]->(n0101), (n011)-[:LIKES]->(n0110), (n011)-[:LIKES]->(n0111) 16:49:27.968 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV('A').as('n0').property(single, 'name', 'n0').addV('B').as('n00').property(single, 'name', 'n00').addV('B').as('n01').property(single, 'name', 'n01').addV('C').as('n000').property(single, 'name', 'n000').addV('C').as('n001').property(single, 'name', 'n001').addV('C').as('n010').property(single, 'name', 'n010').addV('C').as('n011').property(single, 'name', 'n011').addV('D').as('n0000').property(single, 'name', 'n0000').addV('D').as('n0001').property(single, 'name', 'n0001').addV('D').as('n0010').property(single, 'name', 'n0010').addV('D').as('n0011').property(single, 'name', 'n0011').addV('D').as('n0100').property(single, 'name', 'n0100').addV('D').as('n0101').property(single, 'name', 'n0101').addV('D').as('n0110').property(single, 'name', 'n0110').addV('D').as('n0111').property(single, 'name', 'n0111').addE('LIKES').from('n0').to('n00').addE('LIKES').from('n0').to('n01').addE('LIKES').from('n00').to('n000').addE('LIKES').from('n00').to('n001').addE('LIKES').from('n01').to('n010').addE('LIKES').from('n01').to('n011').addE('LIKES').from('n000').to('n0000').addE('LIKES').from('n000').to('n0001').addE('LIKES').from('n001').to('n0010').addE('LIKES').from('n001').to('n0011').addE('LIKES').from('n010').to('n0100').addE('LIKES').from('n010').to('n0101').addE('LIKES').from('n011').to('n0110').addE('LIKES').from('n011').to('n0111').barrier().limit(0)

0.020
And having executed: 0.007
MATCH (d:D)
CREATE (e1:E {name: d.name + '0'}),
       (e2:E {name: d.name + '1'})
CREATE (d)-[:LIKES]->(e1),
       (d)-[:LIKES]->(e2)

16:49:27.978 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.978 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (d:D) CREATE (e1:E {name: d.name + '0'}), (e2:E {name: d.name + '1'}) CREATE (d)-[:LIKES]->(e1), (d)-[:LIKES]->(e2) 16:49:27.981 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('d').hasLabel('D').addV('E').as('e1').property(single, 'name', __.project(' GENERATED1', ' GENERATED2').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('0')).select(values).map(cypherPlus())).addV('E').as('e2').property(single, 'name', __.project(' GENERATED3', ' GENERATED4').by(__.select('d').choose(neq(' cypher.null'), __.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))).by(__.constant('1')).select(values).map(cypherPlus())).addE('LIKES').from('d').to('e1').addE('LIKES').from('d').to('e2').barrier().limit(0)

When executing query: 0.003
MATCH (a:A)
MATCH (p)-[:LIKES]->()-[:LIKES*2]->()-[r:LIKES]->(c)
RETURN c.name

16:49:27.995 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (a:A) MATCH (p)-[:LIKES]->()-[:LIKES*2]->()-[r:LIKES]->(c) RETURN c.name}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.995 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (a:A) MATCH (p)-[:LIKES]->()-[:LIKES*2]->()-[r:LIKES]->(c) RETURN c.name 16:49:27.998 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().hasLabel('A').V().outE('LIKES').as(' UNNAMED22').inV().as(' cypher.path.start.GENERATED2').times(2).repeat(__.outE('LIKES').inV()).simplePath().from(' cypher.path.start.GENERATED2').outE('LIKES').as('r').inV().as('c').where(__.select(' UNNAMED22').where(neq('r'))).select('c').project('c.name').by(__.choose(__.values('name'), __.values('name'), __.constant(' cypher.null')))

Then the result should be: 0.000
c.name
'n00000'
'n00001'
'n00010'
'n00011'
'n00100'
'n00101'
'n00110'
'n00111'
'n01000'
'n01001'
'n01010'
'n01011'
'n01100'
'n01101'
'n01110'
'n01111'
And no side effects 0.009

16:49:27.999 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:27.999 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:28.000 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:28.000 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:28.001 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:28.002 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:28.002 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:28.002 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:28.003 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:28.003 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:28.004 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0