You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/02/21 12:09:19 UTC

[GitHub] klion26 edited a comment on issue #7786: [FLINK-11706] Add the SumFunction to support KeyedStream.sum

klion26 edited a comment on issue #7786: [FLINK-11706] Add the SumFunction to support KeyedStream.sum
URL: https://github.com/apache/flink/pull/7786#issuecomment-465976553
 
 
   how about some code like below
   ```
   int index = 0
   for (Integer v : value.f1) {
   	 out.collect(new Tuple2<>(String.format("%d_%d", value.f0, index++), v));
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services