You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by cestella <gi...@git.apache.org> on 2016/12/21 23:48:02 UTC

[GitHub] incubator-metron issue #401: METRON-637: Add a STATS_BIN function to Stellar...

Github user cestella commented on the issue:

    https://github.com/apache/incubator-metron/pull/401
  
    Thanks for the feedback, @mattf-horton!  I went ahead and incorporated your changes.  For posterity and so this gets replicated to the JIRA, I added a `BIN` function that just takes a list of bounds, not a list of percentiles to compute.  `STATS_BIN` could be encoded with `BIN` if we had a `MAP` function (i.e. `STATS_BIN` == `BIN( value, MAP( &STATS_GET_PERCENTILE(stats, _ ), [ 25.0, 50.0, 75.0])` where `MAP` takes a function pointer and applies it to a collection).  
    
    We do not have this capability yet in Stellar, but it may be worth considering to enable these kinds of use-cases.  Just a thought.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---