You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2021/02/26 21:36:00 UTC
[jira] [Closed] (TINKERPOP-2529) Global dedup() in reducing by() of
group() detaches elements for OLTP
[ https://issues.apache.org/jira/browse/TINKERPOP-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-2529.
---------------------------------------
Fix Version/s: 3.4.11
3.5.0
Resolution: Fixed
Pushed as CTR - ran full docker build - https://github.com/apache/tinkerpop/commit/2df43e1f6186f14d462b275f1b94603ac2625932
> Global dedup() in reducing by() of group() detaches elements for OLTP
> ---------------------------------------------------------------------
>
> Key: TINKERPOP-2529
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2529
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.4.10
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
> Fix For: 3.5.0, 3.4.11
>
>
> When elements are detached they are not re-attached and thus prevent anything following `group()` from traversing them. For example:
> {code}
> g.V().both().
> group().by().by(out().dedup().fold()).
> unfold().
> select(Column.values).
> unfold().
> out()
> {code}
> When {{dedup()}} detaches the later attempt to traverse {{out()}} will produce no output as there are no edges on a detached object. I think we need to keep detachment in place for OLAP sake where I think this approach was envisioned.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)