Robert Metzger created FLINK-1527:
-------------------------------------
Summary: Incomplete Accumulator documentation (no mention of the shorthand methods)
Key: FLINK-1527
URL:
https://issues.apache.org/jira/browse/FLINK-1527 Project: Flink
Issue Type: Bug
Affects Versions: 0.8, 0.9
Reporter: Robert Metzger
The current documentation implies that users have to manually register every counter.
But it should be possible to call counters like this
{code}
getRuntimeContext().getLongCounter("elements").add(1L);
{code}
within the udf function call.
http://flink.apache.org/docs/0.8/programming_guide.html#accumulators--counters--
This message was sent by Atlassian JIRA
(v6.3.4#6332)