[
https://issues.apache.org/jira/browse/TINKERPOP-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-793.
--------------------------------------
Resolution: Won't Fix
Assignee: stephen mallette
I re-opened this for my own further thought. Since there's no community
consensus on making any change here, I will close it.
> select should stop traversal on unproductive by
> -----------------------------------------------
>
> Key: TINKERPOP-793
> URL: https://issues.apache.org/jira/browse/TINKERPOP-793
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.2-incubating
> Reporter: Matt Frantz
> Assignee: stephen mallette
> Labels: breaking
>
> Instead of throwing an exception, we should stop traversal if a {{by}} clause
> fails to produce.
> Current:
> {noformat}
> gremlin> g.V().as('a').out().out().as('b')
> .select('a', 'b')
> .by('name')
> .by(has('name', 'lop').values('name'))
> The provided start does not map to a value: v[5]->[HasStep([name.eq(lop)])]
> {noformat}
> Desired:
> {noformat}
> gremlin> g.V().as('a').out().out().as('b')
> .select('a', 'b')
> .by('name')
> .by(has('name', 'lop').values('name'))
> ==>[a:marko, b:lop]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)