[ 
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)

Reply via email to