apache_beam.io.gcp.tests package

Submodules

apache_beam.io.gcp.tests.bigquery_matcher module

Bigquery data verifier for end-to-end test.

class apache_beam.io.gcp.tests.bigquery_matcher.BigqueryMatcher(project, query, checksum)[source]

Bases: hamcrest.core.base_matcher.BaseMatcher

Matcher that verifies Bigquery data with given query.

Fetch Bigquery data with given query, compute a hash string and compare with expected checksum.

describe_mismatch(pipeline_result, mismatch_description)[source]
describe_to(description)[source]

Module contents