Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3219

Implement DataSet.count using a single operator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    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.

      Attachments

        Activity

          People

            greghogan Greg Hogan
            greghogan Greg Hogan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: