[
https://issues.apache.org/jira/browse/FLINK-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Hogan updated FLINK-3219:
------------------------------
Description:
{{DataSet.count}} is currently implemented using a {{FlatMapFunction}} followed
by a {{DiscardingOutputFormat}}. As noted by [~StephanEwen] in [FLINK-2716]
this can be done with only a {{RichOutputFormat}}.
This change is also applicable to {{DataSet.collect}} and
{{Utils.CollectHelper}}.
was:{{DataSet.count}} is currently implemented using a {{FlatMapFunction}}
followed by a {{DiscardingOutputFormat}}. As noted by [~StephanEwen] in
[FLINK-2716] this can be done with only a {{RichOutputFormat}}.
> Implement DataSet.count using a single operator
> -----------------------------------------------
>
> Key: FLINK-3219
> URL: https://issues.apache.org/jira/browse/FLINK-3219
> Project: Flink
> Issue Type: Improvement
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Priority: Minor
>
> {{DataSet.count}} is currently implemented using a {{FlatMapFunction}}
> followed by a {{DiscardingOutputFormat}}. As noted by [~StephanEwen] in
> [FLINK-2716] this can be done with only a {{RichOutputFormat}}.
> This change is also applicable to {{DataSet.collect}} and
> {{Utils.CollectHelper}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)