Choose the transformation engine and its data contract
A retailer needs two pipelines.
Choose the transformation engine and its data contract
A retailer needs two pipelines. The warehouse team transforms approved tables with SQL, while the platform team handles out-of-order events. Write down latency, dependencies and grain before deciding how many services the pipeline needs.
The recording chooses Dataform for versioned BigQuery SQL transformations with dependencies, tests and scheduling.
Work through the decision
A SQL model publishes branch totals successfully even though a replay duplicated source receipts. What should the pipeline assert before release?
Check your reasoning
Test the business key for uniqueness at the intended revision, reconcile the amount by branch and fail the publishing stage if either assertion fails. A successful SQL job only establishes execution.
Decisions and tradeoffs
- Dataform
- Use version-controlled BigQuery SQL transformations with declared dependencies and assertions for a warehouse-centric DAG.
- Dataflow with Apache Beam
- A Beam pipeline can process bounded or unbounded inputs and express event-time windows and lateness policies.
- Managed Spark workload
- Use a managed Spark service when an existing Spark application, its dependencies and batch operations are central to the job.
- Cloud Data Fusion
- Use managed visual data integration when supported connectors and a graphical pipeline suit the team’s sources and skills.
- Pre-load transformation for restricted data
- Apply the required cleaning or masking before data crosses a boundary that cannot store the original fields.
Practice each guide skill
Work through these exercises in the order of the published guide. The checklist numbers are local references.
- Compare managed Spark, Dataflow, Cloud Data Fusion and Dataform for the team’s code, streaming semantics, connectors and maintenance skills. Use orchestration to coordinate the chosen tools.
- Trace a prohibited identifier from source to destination. Choose pre-load transformation if landing raw data would violate the boundary.
- For a nightly relational aggregate, specify landing, execution identity, transformation, assertions and destination. Remove any service with no specific role.
Official objectives for this lesson
Related lesson · Choose a transformation for the data shape
Choose the transformation engine and its data contract quiz
Answer 3 questions. Check each answer for an explanation.