[
https://issues.apache.org/jira/browse/TINKERPOP-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562251#comment-16562251
]
ASF GitHub Bot commented on TINKERPOP-1967:
-------------------------------------------
Github user dkuppitz commented on the issue:
https://github.com/apache/tinkerpop/pull/897
Mucho mejor.
```
gremlin> g.withComputer().V().dedup().connectedComponent().valueMap()
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[ripple],lang:[java]]
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[marko],age:[29]]
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[lop],lang:[java]]
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[vadas],age:[27]]
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[josh],age:[32]]
==>[gremlin.connectedComponentVertexProgram.component:[1],name:[peter],age:[35]]
```
Perhaps there should be a test case for this query, just in case somebody's
gonna try to optimize the extra halted traverser code away.
> Add a connectedComponent() step
> -------------------------------
>
> Key: TINKERPOP-1967
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1967
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.3.3
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Minor
> Fix For: 3.4.0
>
>
> Given TINKERPOP-1852 we should probably just simplify and improve performance
> of connected component identification. Implementing this will involved the
> creation of {{ConnectedComponentVertexProgram}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)