You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2016/10/11 09:01:20 UTC
[jira] [Created] (TINKERPOP-1495) Global list deduplication doesn't
work in OLAP
Daniel Kuppitz created TINKERPOP-1495:
-----------------------------------------
Summary: Global list deduplication doesn't work in OLAP
Key: TINKERPOP-1495
URL: https://issues.apache.org/jira/browse/TINKERPOP-1495
Project: TinkerPop
Issue Type: Bug
Components: process
Affects Versions: 3.2.2
Reporter: Daniel Kuppitz
Assignee: Marko A. Rodriguez
{noformat}
gremlin> g = TinkerFactory.createModern().traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> a = TinkerFactory.createModern().traversal().withComputer()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], graphcomputer]
gremlin>
gremlin> g.V().as("a").repeat(both()).times(3).emit().as("b").group().by(select("a")).by(select("b").dedup().order().by(id).fold()).select(values).unfold().dedup()
==>[v[1],v[2],v[3],v[4],v[5],v[6]]
gremlin> a.V().as("a").repeat(both()).times(3).emit().as("b").group().by(select("a")).by(select("b").dedup().order().by(id).fold()).select(values).unfold().dedup()
==>[v[1],v[2],v[3],v[4],v[5],v[6]]
==>[v[1],v[2],v[3],v[4],v[5],v[6]]
==>[v[1],v[2],v[3],v[4],v[5],v[6]]
==>[v[1],v[3],v[4],v[5],v[6]]
==>[v[1],v[2],v[3],v[4],v[6]]
==>[v[1],v[2],v[3],v[4],v[5]]
gremlin>
{noformat}
_Not tested in {{tp31}}._
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)