[ https://issues.apache.org/jira/browse/FLINK-3845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262995#comment-15262995 ]
ASF GitHub Bot commented on FLINK-3845: --------------------------------------- GitHub user greghogan opened a pull request: https://github.com/apache/flink/pull/1949 [FLINK-3845] [gelly] Gelly allows duplicate vertices in Graph.addVertices Vertex sets are now merged with a cogroup so that a new Vertex is only added to the Graph when no existing Vertex exists with the same label. You can merge this pull request into a Git repository by running: $ git pull https://github.com/greghogan/flink 3845_gelly_allows_duplicate_vertices_in_graph_addvertices Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1949.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1949 ---- commit 51a4733d0a52e21093e79b326e521d386f11b95d Author: Greg Hogan <c...@greghogan.com> Date: 2016-04-28T15:34:41Z [FLINK-3845] [gelly] Gelly allows duplicate vertices in Graph.addVertices Vertex sets are now merged with a cogroup so that a new Vertex is only added to the Graph when no existing Vertex exists with the same label. ---- > Gelly allows duplicate vertices in Graph.addVertices > ---------------------------------------------------- > > Key: FLINK-3845 > URL: https://issues.apache.org/jira/browse/FLINK-3845 > Project: Flink > Issue Type: Bug > Components: Gelly > Affects Versions: 1.1.0 > Reporter: Greg Hogan > Assignee: Greg Hogan > Fix For: 1.1.0 > > > Gelly performs a {{DataSet}} union then calls {{distinct()}} which keeps > vertices with the same label but different values. This should be replaced > with one of the join operators. -- This message was sent by Atlassian JIRA (v6.3.4#6332)