← All Learning Paths

Data Platform Engineer

Build analytical platforms: warehouse and lakehouse modeling, star schemas, slow-changing dimensions, data quality gates, lineage, and cost control.

technicalintermediate8 nodes11.83h total

Path overview

构建分析平台:数仓与湖仓建模、星型模型、缓慢变化维度、数据质量门禁、血缘追踪与成本控制。

Build analytical platforms: warehouse and lakehouse modeling, star schemas, slow-changing dimensions, data quality gates, lineage, and cost control.

  1. Run the data platform engineer snippet "Polars Lazy Query Optimization", capture stdout, and show which line demonstrates the documented behavior: "Run Polars lazy frames so predicate pushdown, projection pruning, and streaming execution".

    Completion criteria: Change one constant in "Polars Lazy Query Optimization", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Pandas Chunked CSV Aggregation

    ⏱ 0.75h

  2. Adapt "Pandas Chunked CSV Aggregation" to a second input and compare the new output with the behavior described in "Aggregate CSV files larger than memory with pandas chunksize iteration, accumulating partial".

    Prerequisites: Polars Lazy Query Optimization

    Completion criteria: Paste the command, the exit code, and the output line matching "Aggregate CSV files larger than memory with pandas chunksize iteration, accumulating partial"; then show a second run with a changed parameter.

    Next step: DuckDB

    ⏱ 0.75h

  3. Stand up "DuckDB" for a data platform engineer task, confirm "duckdb.connect duckdb.connect(path=:memory:)" holds, and document one failure you triggered.

    Prerequisites: Pandas Chunked CSV Aggregation

    Completion criteria: Run a request against "DuckDB", paste the response, and add one deliberately invalid call with its error.

    Next step: Polars

    ⏱ 1h

  4. Wire "Polars" into a scratch data platform engineer project, following "read_csv / scan_csv pl.read_csv(path: str) -> DataFrame; pl.scan_csv(path: str) -> LazyFrame", and record one working request/response pair.

    Prerequisites: DuckDB

    Completion criteria: Run a request against "Polars", paste the response, and add one deliberately invalid call with its error.

    Next step: Data Lineage Documentation Workflow

    ⏱ 1h

  5. Carry out "Data Lineage Documentation Workflow" on a data platform engineer project, pausing at the "The lineage graph regenerates on every pipeline deploy with no manual edits." step to verify "Generate lineage from code, not wikis: Parse pipeline definitions to extract table and".

    Prerequisites: Polars

    Completion criteria: Deliver a transcript of "Data Lineage Documentation Workflow" with each step's command and observed state, ending at "The lineage graph regenerates on every pipeline deploy with no manual edits.".

    Next step: Pipeline Data Quality Gates Workflow

    ⏱ 0.5h

  6. Use "Pipeline Data Quality Gates Workflow" to decide "Each stage boundary has a named, versioned set of assertions.", then prove the outcome with "Stop corrupted or incomplete data from propagating downstream by failing fast at the stage".

    Prerequisites: Data Lineage Documentation Workflow

    Completion criteria: Record the state "Stop corrupted or incomplete data from propagating downstream by failing fast at the stage" at the verification step, then paste the output of "Each stage boundary has a named, versioned set of assertions." that proves it.

    Next step: Aggregate a CSV Stream by Group

    ⏱ 0.5h

  7. In the "Data Platform Engineer" path, implement "Aggregate a CSV Stream by Group" so JSON object: { csv: string, groupBy: string, sumField: string } yields [{group:core,total:25},{group:web,total:5}], including the second sample's edge case.

    Prerequisites: Pipeline Data Quality Gates Workflow

    Completion criteria: Attach the solution file for "Data Platform Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Data Platform Engineer

    ⏱ 0.33h

  8. Ship "Log tail reader" from "Build a Change Data Capture Pipeline", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Pipeline Data Quality Gates Workflow, Aggregate a CSV Stream by Group

    Completion criteria: Run the project's test command for "Build a Change Data Capture Pipeline", paste the passing output, and attach the acceptance note for "Log tail reader" with the test name.

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

    ⏱ 4h