[
https://issues.apache.org/jira/browse/FLINK-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290814#comment-15290814
]
ASF GitHub Bot commented on FLINK-3836:
---------------------------------------
Github user mbode commented on the pull request:
https://github.com/apache/flink/pull/1966#issuecomment-220277425
Hi Stephan, sounds good.
1. I wanted to avoid too much duplication, but I see your point.
2. Ok, throwing a new exception breaks the API. So should I just mark
`Histogram` as deprecated? I guess the proper way would be to make Histogram
generic, enabling users to instantiate Histogram<Long>. Again, this breaks the
API, so we would have to wait for the next major release – what is the process
for cases like that?
> Change Histogram to enable Long counters
> ----------------------------------------
>
> Key: FLINK-3836
> URL: https://issues.apache.org/jira/browse/FLINK-3836
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0.2
> Reporter: Maximilian Bode
> Assignee: Maximilian Bode
> Priority: Minor
>
> Change
> flink/flink-core/src/main/java/org/apache/flink/api/common/accumulators/Histogram.java
> to enable Long counts instead of Integer. In particular, change the TreeMap
> to be <Integer, Long>.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)