[
https://issues.apache.org/jira/browse/FLINK-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137384#comment-14137384
]
ASF GitHub Bot commented on FLINK-1096:
---------------------------------------
Github user rmetzger commented on the pull request:
https://github.com/apache/incubator-flink/pull/117#issuecomment-55911250
I think adding a JIRA ticket for the issue would be great.
> 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)