fernando-wizeline commented on a change in pull request #17015:
URL: https://github.com/apache/beam/pull/17015#discussion_r836685824



##########
File path: 
examples/java/src/main/java/org/apache/beam/examples/complete/game/HourlyTeamScore.java
##########
@@ -170,7 +176,7 @@ public static void main(String[] args) throws Exception {
         // Extract and sum teamname/score pairs from the event data.
         .apply("ExtractTeamScore", new ExtractAndSumScore("team"))
         .apply(
-            "WriteTeamScoreSums", new WriteToText<>(options.getOutput(), 
configureOutput(), true));
+            "WriteTeamScoreSums", new WriteToText<>(options.getOutput(), 
configureOutput(), false));

Review comment:
       This is just to write the results to one file per round instead of 
several files per windowing. The windowing itself is not being changed if I'm 
not mistaken.
   I added an extra option and set it to true as default to keep the original 
functionality.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to