Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-incubating
-
None
Description
g.V().valueMap() .match(__.as('a').select('name').as('name')) .select('name') The provided match pattern is unsolvable: [[MatchStartStep(a), SelectOneStep(name), MatchEndStep(name)]]
What I think it happening is that the select inside the match is using Scope.GLOBAL. The workaround is to insert identity, but I'm not sure why this works, as identity steps appear to be removed by strategy.
g.V().valueMap() .match(__.as('a').identity().select('name').as('name')) .select('name') ==>[marko] ==>[vadas] ==>[lop] ==>[josh] ==>[ripple] ==>[peter]