The common
module provides reusable classes for writing Dataflow workflows.
For easily constructing readable pipelines with standard defaults.
q = ('SELECT blah FROM `chrome-infra-events.raw_events.foo`') p = chops_beam.EventsPipeline() _ = (p | chops_beam.BQRead(q) | ... # do some transforms | chops_beam.BQWrite('some_table')) p.run()
Convenient classes for BigQuery tables. Can be used for reading from or writing to BigQuery.
for row in input_rows: event = objects.CQEvent.from_bigquery_row(row)
Generally useful Combine Functions.