Closed dwitry closed 6 years ago
fold()
g.V().as('a').fold().select('a')
map(fold())
g.V().as('a').map(fold()).select('a')
SimplifySingleProjections
select
TCK +2
Signed-off-by: Dwitry dwitry@users.noreply.github.com
fold()
loses traversal history (e.g.g.V().as('a').fold().select('a')
returns noting)fold()
is used for collection creation, replaced withmap(fold())
(e.g.g.V().as('a').map(fold()).select('a')
)SimplifySingleProjections
rewriter removing valid re-select
TCK +2
Signed-off-by: Dwitry dwitry@users.noreply.github.com