Learn Everything

Paths/MLOps Engineer/Feature Stores / Online & Offline Parity

Challengeadvancedubuntu:24.04Ask AI

Materialise Features Incrementally

Fresh values have to travel from the offline store into the online one. Write the job that does it, with the window it covers.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • File ~/feast/materialize.py exists○
  • The job calls materialize_incremental○
  • The job states the window it materialises○
  • The job runs on a schedule○

02Walkthrough

1 of 4 revealed
  1. 01

    Write the materialisation job

    materialize_incremental copies the features that changed in the window. Give it a start and an end - an open window means re-processing everything.

    echo 'from feast import materialize_incremental\n\ndef materialize(start_date, end_date):\n materialize_incremental(end_date=end_date, feature_views=["user_activity"])\n return start_date, end_date' > ~/feast/materialize.py
  2. 3 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — ubuntu:24.04

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list