Skip to content
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

DebuggingWordCount now takes filter as an option #108

Closed
wants to merge 2 commits into from

Conversation

bjchambers
Copy link
Contributor

Allow DebuggingWordCount to take the filter to be matched as an option.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI for on your fork and ensure the whole test matrix passes).
  • Replace "<Jira issue #>" in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

Previously it was hard-coded as "Flourish|stomach".
Now it is a PipelineOption with that as the default.

This allows "breaking" the pipeline by mis-specifying the pattern
without changing the code.

Previously it was hard-coded as "Flourish|stomach".
Now it is a PipelineOption with that as the default.

This allows "breaking" the pipeline by mis-specifying the pattern
without changing the code.
@@ -172,6 +172,12 @@ public String apply(KV<String, Long> input) {
String getOutput();
void setOutput(String value);

@Description("Regex filter pattern to use in DebuggingWordCount. "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the option to DebuggingWordCount.

@davorbonaci
Copy link
Member

LGTM.

@asfgit asfgit closed this in e5bca60 Apr 1, 2016
iemejia referenced this pull request in iemejia/beam Jan 12, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
#! Remove obsolete classes and forbid custom Pairs/Triples
becketqin pushed a commit to becketqin/beam that referenced this pull request Jan 18, 2024
Explicitly force execution order for some required modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants