Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2529

Global dedup() in reducing by() of group() detaches elements for OLTP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.10
    • Fix Version/s: 3.5.0, 3.4.11
    • Component/s: process
    • Labels:
      None

      Description

      When elements are detached they are not re-attached and thus prevent anything following `group()` from traversing them. For example:

      g.V().both().
              group().by().by(out().dedup().fold()).
              unfold().
              select(Column.values).
              unfold().
              out()
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: