airflow.example_dags.example_asset_partition
Attributes
Functions
Materialize Team A player statistics for the current hourly partition. |
|
Produce hourly partitioned stats for Team B. |
|
Produce hourly partitioned stats for Team C. |
|
|
Merge the aligned hourly partitions into a combined dataset. |
Compute player odds from the combined hourly statistics. |
|
Ingest regional sales data partitioned by region and time. |
|
|
Aggregate sales data for the matched region-day partition. |
Module Contents
- airflow.example_dags.example_asset_partition.team_a_player_stats[source]
- airflow.example_dags.example_asset_partition.combined_player_stats[source]
- airflow.example_dags.example_asset_partition.ingest_team_a_stats()[source]
Materialize Team A player statistics for the current hourly partition.
- airflow.example_dags.example_asset_partition.team_b_player_stats()[source]
Produce hourly partitioned stats for Team B.
- airflow.example_dags.example_asset_partition.team_c_player_stats()[source]
Produce hourly partitioned stats for Team C.
- airflow.example_dags.example_asset_partition.combine_player_stats(dag_run=None)[source]
Merge the aligned hourly partitions into a combined dataset.
- airflow.example_dags.example_asset_partition.compute_player_odds()[source]
Compute player odds from the combined hourly statistics.
This asset is partition-aware and triggered by the combined stats asset.
- airflow.example_dags.example_asset_partition.check_partition_alignment()[source]
- airflow.example_dags.example_asset_partition.regional_sales[source]
- airflow.example_dags.example_asset_partition.ingest_sales()[source]
Ingest regional sales data partitioned by region and time.
- airflow.example_dags.example_asset_partition.aggregate_sales(dag_run=None)[source]
Aggregate sales data for the matched region-day partition.