[
https://issues.apache.org/jira/browse/BEAM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877356#comment-15877356
]
ASF GitHub Bot commented on BEAM-1188:
--------------------------------------
GitHub user markflyhigh opened a pull request:
https://github.com/apache/beam/pull/2064
[BEAM-1188] Python Bigquery Verifier For E2E Test
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [x] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI 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).
---
- Add Bigquery verifier which is used for verifying bigquery output in e2e
integration tests.
- Add bigquery_tonadoes integration test as an example of using bigquery
verifier.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markflyhigh/incubator-beam
python-bigquery-verifier
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2064.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 #2064
----
commit e87f6e6c21225cc2d839813b83f1d11367c9eebe
Author: Mark Liu <[email protected]>
Date: 2017-02-22T02:48:34Z
[BEAM-1188] Python Bigquery Verifier For E2E Test
----
> More Verifiers For Python E2E Tests
> -----------------------------------
>
> Key: BEAM-1188
> URL: https://issues.apache.org/jira/browse/BEAM-1188
> Project: Beam
> Issue Type: Task
> Components: sdk-py, testing
> Reporter: Mark Liu
> Assignee: Mark Liu
>
> Add more basic verifiers in e2e test to verify output data in different
> storage/fs:
> 1. File verifier: compute and verify checksum of file(s) that’s stored on a
> filesystem (GCS / local fs).
> 2. Bigquery verifier: query from Bigquery table and verify response content.
> ...
> Also update TestOptions.on_success_matcher to accept a list of matchers
> instead of single one.
> Note: Have retry when doing IO to avoid test flacky that may come from
> inconsistency of the filesystem. This problem happened in Java integration
> tests.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)