You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/09/01 22:36:45 UTC

[jira] [Reopened] (TINKERPOP3-796) Support merge binary operator for Gremlin sacks

     [ https://issues.apache.org/jira/browse/TINKERPOP3-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marko A. Rodriguez reopened TINKERPOP3-796:
-------------------------------------------

> Support merge binary operator for Gremlin sacks
> -----------------------------------------------
>
>                 Key: TINKERPOP3-796
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-796
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>              Labels: breaking
>             Fix For: 3.1.0-incubating
>
>
> We originally had the merge capability with Gremlin sacks, but I removed it as there was a semantic problem when you merge + have bulk. For instance, suppose you sack is some "energy" between 0 and 1.0. When you split then the sack for each split traverser is, lets say, 0.5 and 0.5. Then lets say those two guys now merge on the next step. The sack would be 1.0 but your bulk would be 2 and thus, you have 2 energy (1.0 * 2). Its as if merging with sacks should ALSO dictate how bulks are merged.
> Given the complications at the time, I dropped the ability to merge sacks, but we will need it again, especially with some new work I want to do with "wave form Gremlin."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)