Introductie tot Data Engineering
Vincent Vankrunkelsven
Data Engineer, DataCamp

Hoe plan je?
cronGerichte acyclische graaf

cron

@dag(dag_id="example_dag", start_date=datetime(2024, 1, 1), schedule="0 * * * *") def example_dag():@task def start_cluster(): ... @task def ingest_customer_data(): ... @task def ingest_product_data(): ... @task def enrich_customer_data(): ...
@dag(dag_id="example_dag", ...)
def example_dag():
...
# Stroom van afhankelijkheden instellen
cluster = start_cluster()
customers = ingest_customer_data()
products = ingest_product_data()
cluster >> [customers, products]
[customers, products] >> enrich_customer_data()
# Voer de DAG uit
example_dag()
Introductie tot Data Engineering