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/10/02 23:41:27 UTC

[jira] [Closed] (TINKERPOP3-851) GroupCountStep needs a by() for the count.

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

Marko A. Rodriguez closed TINKERPOP3-851.
-----------------------------------------
    Resolution: Won't Fix

Closing this. Going to open a new ticket for {{GroupStep}} which does traversal-based reduction. I have an idea.

> GroupCountStep needs a by() for the count.
> ------------------------------------------
>
>                 Key: TINKERPOP3-851
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-851
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.1.0-incubating
>
>
> Currently {{groupCount()}} takes one {{by}}-modulator. That {{by()}} is the key-projection. In TP2, we had a second "by modulator" that was the number to "incr." In TP3, the number to incr is currently {{traverser.bulk()}}. We should keep this default, but we should support a user defined second {{by()}} modulator.
> {code}
> g.V.out.groupCount.by('name').by(sack())
> g.V.out.groupCount.by('name').by('age')
> {code}
> This is necessary for 3.1.0 as it is necessary for the "signal processing" features available in the new sack-work.



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