GitHub user bjchambers opened a pull request:
https://github.com/apache/incubator-beam/pull/108
DebuggingWordCount now takes filter as an option
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](https://www.apache.org/licenses/icla.txt).
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bjchambers/incubator-beam debugging
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/108.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #108
----
commit 374c6477f053b67e3edb4743168f82157628c558
Author: bchambers <[email protected]>
Date: 2016-03-31T22:18:09Z
DebuggingWordCount now takes filter as an option
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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---