[jira] [Created] (FLINK-1096) Unexpected Histogram accumulator behavior

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-1096) Unexpected Histogram accumulator behavior

Shang Yuanchun (Jira)
Sebastian Kruse created FLINK-1096:
--------------------------------------

             Summary: Unexpected Histogram accumulator behavior
                 Key: FLINK-1096
                 URL: https://issues.apache.org/jira/browse/FLINK-1096
             Project: Flink
          Issue Type: Bug
            Reporter: Sebastian Kruse
            Assignee: Sebastian Kruse
            Priority: Trivial


The {{Histogram}} accumulator uses the given value as both key and value for the histogram map. Hence, the histogram always contains entries like {{key -> n * key}} where {{n}} is the number of times that {{key}} has been added to the histogram.
Supposedly, adding {{key}} into the histogram {{n}} times should create the entr {{key -> n}} instead.



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