← All Learning Paths

Analytics Engineer

Own the semantic layer: warehouses versus lakes, data contracts, lineage, star schemas, slowly changing dimensions, late data, and pipelines that validate themselves.

roleintermediate6 nodes12h total

Path overview

分析工程师的产出不是报表,而是可信的表。本路径从湖仓选型与数据契约讲起,经血缘追踪与星型建模,处理缓慢变化维度、迟到数据与水位线三大经典难题,再落地校验与去重管线,收尾于 SQL 练习与 Airflow 案例。

The analytics engineer ships trustworthy tables, not charts. This path covers lakehouse boundaries, data contracts, lineage, star schemas, late data, watermarks, self-validating pipelines, and an Airflow case.

  1. Reconstruct the reasoning behind "How to Build a Data Validation Pipeline" by tracing "Parse, do not validate" to the failure it prevents in analytics systems.

    Completion criteria: Write a five-line decision note citing "Parse, do not validate" from "How to Build a Data Validation Pipeline", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: How to Build a Deduplication Pipeline

    ⏱ 1h

  2. Read "How to Build a Deduplication Pipeline" for the "Identity is normalization first" argument, then name the decision in analytics work it would change.

    Prerequisites: How to Build a Data Validation Pipeline

    Completion criteria: Attach a one-page summary that quotes "Identity is normalization first", lists two trade-offs, and links the commit where you applied it.

    Next step: Monthly Cohort Retention with Conditional Counts

    ⏱ 1h

  3. Implement "Monthly Cohort Retention with Conditional Counts" so that One row per acquisition month with cohort_month, cohort_size, retained_month_1, and yields 2026-01-01 | 2 | 2 | 100.0 2026-02-01 | 2 | 1 | 50.0, including the edge case in the second sample.

    Prerequisites: How to Build a Deduplication Pipeline

    Completion criteria: Show a test command that validates "One row per acquisition month with cohort_month, cohort_size, retained_month_1, and" and "2026-01-01 | 2 | 2 | 100.0 2026-02-01 | 2 | 1 | 50.0" and passes after your fix.

    Next step: Month-over-Month Revenue Growth with LAG

    ⏱ 0.5h

  4. Complete "Month-over-Month Revenue Growth with LAG" by making Columns month, revenue, previous_revenue (NULL for the first row), and mom_growth_pct rounded produce 2026-01-01 | 1000.00 | NULL | NULL 2026-02-01 | 1200.00 | 1000.00 | 20.0 2026-03-01 | 900.00 | without hard-coding the sample.

    Prerequisites: Monthly Cohort Retention with Conditional Counts

    Completion criteria: Submit a solution that passes both samples (Columns month, revenue, previous_revenue (NULL for the first row), and mom_growth_pct rounded to 2026-01-01 | 1000.00 | NULL | NULL 2026-02-01 | 1200.00 | 1000.00 | 20.0 2026-03-01 | 900.00 |) and attach the failing case you fixed.

    Next step: Airflow Python Data Pipeline

    ⏱ 0.5h

  5. Map "Airflow Python Data Pipeline"'s Python, airflow, kubernetes, postgres components to responsibilities and name one trade-off from "DAG-based scheduling".

    Prerequisites: Month-over-Month Revenue Growth with LAG

    Completion criteria: List each Python, airflow, kubernetes, postgres component of "Airflow Python Data Pipeline", its responsibility, and one trade-off, citing "DAG-based scheduling".

    Next step: Capstone: Analytics Engineer

    ⏱ 1.5h

  6. Build "Build a CSV Import Validation Pipeline" through its phases, keeping "Streaming parse" independently testable.

    Prerequisites: Airflow Python Data Pipeline

    Completion criteria: Run the project's test command for "Build a CSV Import Validation Pipeline", paste the passing output, and attach the acceptance note for "Streaming parse" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h