Github user fhueske commented on the pull request:

    https://github.com/apache/flink/pull/1553#issuecomment-190124885
  
    I do not have a concrete use case in mind, but it is certainly possible to 
implement such a job in the DataSet API. Hence, it should be correctly 
translated. 
    You can do this for example like this:
    
    ```
    DataSet<Tuple2<String, Long>> data = ...
    DataSet<Tuple2<String, Long>> pData = data.partitionByHash(0);
    pData.map(new SomeMapFunc())
         .output(new DiscardingOutputFormat<Tuple2<String, Integer>>());
    pData.groupReduce(new SomeCombinableGReduceFunc())
         .output(new DiscardingOutputFormat<Tuple2<String, Integer>>());
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to