groupBy() aggregator doesn't aggregate within the groups

Bug #1626234 reported by Stan Lagun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
YAQL
Fix Released
Undecided
Stan Lagun

Bug Description

groupBy() method accepts `aggregator` parameter which is supposed to be
a function to aggregate value within each group. But instead it is applied to
the groupBy() result rather than within each group

Stan Lagun (slagun)
Changed in yaql:
assignee: nobody → Stan Lagun (slagun)
Changed in yaql:
status: New → In Progress
Revision history for this message
Stan Lagun (slagun) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to yaql (master)

Reviewed: https://review.openstack.org/363191
Committed: https://git.openstack.org/cgit/openstack/yaql/commit/?id=3fb91784018de335440b01b3b069fe45dc53e025
Submitter: Jenkins
Branch: master

commit 3fb91784018de335440b01b3b069fe45dc53e025
Author: Stan Lagun <email address hidden>
Date: Tue Aug 30 13:32:34 2016 -0700

    groupBy() aggregator was fixed

    groupBy method accepts `aggregator`
    parameter which is supposed to be
    a function to aggregate value withing each group
    but instead it was applied to the whole group list

    Change-Id: Ic38bbe7bed7c624aa3e17f5f4ed4708fc216c278
    Closes-Bug: #1626234

Changed in yaql:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.