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 17:29:00 UTC

[jira] [Created] (TINKERPOP-2529) Global dedup() in reducing by() of group() detaches elements for OLTP

Stephen Mallette created TINKERPOP-2529:
-------------------------------------------

             Summary: 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


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)