You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/02/18 14:15:42 UTC

[GitHub] [beam] AydarZaynutdinov commented on a change in pull request #16870: [BEAM-13874][Playground] Tag multifile examples

AydarZaynutdinov commented on a change in pull request #16870:
URL: https://github.com/apache/beam/pull/16870#discussion_r810036294



##########
File path: examples/java/src/main/java/org/apache/beam/examples/complete/TrafficRoutes.java
##########
@@ -17,6 +17,21 @@
  */
 package org.apache.beam.examples.complete;
 
+// beam-playground:
+//   name: TrafficRoutes
+//   description: An example that analyzes traffic sensor data using SlidingWindows.
+//     For each window, it calculates the average speed over the window for some small set
+//     of predefined 'routes', and looks for 'slowdowns' in those routes. It writes its
+//     results to a BigQuery table.
+//   multifile: true
+//   context_line: 97
+//   categories:
+//     - Combiners
+//     - Batch

Review comment:
       Done.

##########
File path: examples/java/src/main/java/org/apache/beam/examples/complete/TrafficMaxLaneFlow.java
##########
@@ -17,6 +17,20 @@
  */
 package org.apache.beam.examples.complete;
 
+// beam-playground:
+//   name: TrafficMaxLaneFlow
+//   description: An example that analyzes traffic sensor data using SlidingWindows. For each
+//     window, it finds the lane that had the highest flow recorded, for each sensor station.
+//     It writes those max values along with auxiliary info to a BigQuery table.
+//   multifile: true
+//   context_line: 93
+//   categories:
+//     - Combiners
+//     - Batch

Review comment:
       Done.

##########
File path: examples/java/src/main/java/org/apache/beam/examples/complete/TfIdf.java
##########
@@ -17,6 +17,19 @@
  */
 package org.apache.beam.examples.complete;
 
+// beam-playground:
+//   name: TfIdf
+//   description: An example that computes a basic TF-IDF search table for a directory or
+//     GCS prefix.
+//   multifile: true
+//   pipeline_options: --output output.txt
+//   context_line: 84
+//   categories:
+//     - Side Input
+//     - Combiners
+//     - Options
+//     - Joins

Review comment:
       Done.




-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org