-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-13359] [Playground] Tag existing examples #16147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d1fc4c6
5857448
30976c3
09e0678
f6e4d83
d44a251
181882e
f364ecd
48653b6
180fa6e
bae4a6e
95b601f
fdbc523
3a3e076
43a8c8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,4 +35,5 @@ categories: | |
| - Branching | ||
| - Flatten | ||
| - Core Transforms | ||
| - Windowing | ||
| - Windowing | ||
| - Debugging | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,19 @@ | |||||||
| // and writes 2 output files. | ||||||||
| package main | ||||||||
|
|
||||||||
| // beam-playground: | ||||||||
| // name: MultiOut | ||||||||
| // description: An example that counts words in Shakespeare's works and writes 2 output files, | ||||||||
| // -- big - for small words, | ||||||||
| // -- small - for big words. | ||||||||
| // multifile: false | ||||||||
| // pipeline_options: --small sOutput.txt --big bOutput.txt | ||||||||
| // categories: | ||||||||
| // - IO | ||||||||
| // - Options | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
| // - Branching | ||||||||
| // - Multiple Outputs | ||||||||
|
|
||||||||
| import ( | ||||||||
| "context" | ||||||||
| "flag" | ||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -42,6 +42,19 @@ | |||||||||
|
|
||||||||||
| # pytype: skip-file | ||||||||||
|
|
||||||||||
| # beam-playground: | ||||||||||
| # name: WordCountDebugging | ||||||||||
| # description: An example that counts words in Shakespeare's works. | ||||||||||
| # includes regex filter("Flourish|stomach"). | ||||||||||
| # multifile: false | ||||||||||
| # pipeline_options: --output output.txt | ||||||||||
| # categories: | ||||||||||
| # - Flatten | ||||||||||
| # - Debugging | ||||||||||
| # - Options | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| # - Combiners | ||||||||||
| # - Filtering | ||||||||||
|
|
||||||||||
| import argparse | ||||||||||
| import logging | ||||||||||
| import re | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -46,6 +46,18 @@ | |||||||||
|
|
||||||||||
| # pytype: skip-file | ||||||||||
|
|
||||||||||
| # beam-playground: | ||||||||||
| # name: WordCountMinimal | ||||||||||
| # description: An example that counts words in Shakespeare's works. | ||||||||||
| # multifile: false | ||||||||||
| # pipeline_options: --output output.txt | ||||||||||
| # categories: | ||||||||||
| # - IO | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think, we should also add
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||||||||||
| # - Core Transforms | ||||||||||
| # - Flatten | ||||||||||
| # - Options | ||||||||||
| # - Combiners | ||||||||||
|
|
||||||||||
| import argparse | ||||||||||
| import logging | ||||||||||
| import re | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.