This is the sample code for the Performing ETL from a Relational Database into BigQuery using Dataflow tutorial
The tutorial explains how to ingest highly normalized (OLTP database style) data into Big Query using DataFlow. To understand this sample code it is recommended that you review the Apache Beam programming model.