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:
[email protected]


With regards,
Apache Git Services

Reply via email to