Skip to content

feat: Refactor materialization engine - #5354

Merged
franciscojavierarceo merged 17 commits into
masterfrom
refactor-materialization-engine
Jun 3, 2025
Merged

feat: Refactor materialization engine#5354
franciscojavierarceo merged 17 commits into
masterfrom
refactor-materialization-engine

Conversation

@HaoXuAI

@HaoXuAI HaoXuAI commented May 14, 2025

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Move old MaterializationEngine (Spark, Snowflake, Lambda, and Kubernetes engines) to ComputeEngine.

With this change all compute engines are unified, and can be used in the feature_store API. It also enables all compute engines with aggregation and transformation configs.

And the materialization API is backward compatible.

Which issue(s) this PR fixes:

Misc

HaoXuAI added 2 commits May 14, 2025 00:07
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
@HaoXuAI
HaoXuAI requested a review from a team as a code owner May 14, 2025 07:26
@redhatHameed

Copy link
Copy Markdown
Contributor

@HaoXuAI will be helpful for review if you can add details in PR description about What this PR does / why we need it: Thanks

@HaoXuAI

HaoXuAI commented May 15, 2025

Copy link
Copy Markdown
Collaborator Author

@HaoXuAI will be helpful for review if you can add details in PR description about What this PR does / why we need it: Thanks

yeah for sure, it's still WIP and I'll update the PR once it's ready

@HaoXuAI HaoXuAI changed the title feat: Refactor materialization engine feat: Refactor materialization engine [draft] May 15, 2025
HaoXuAI added 3 commits May 20, 2025 20:44
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
@HaoXuAI HaoXuAI changed the title feat: Refactor materialization engine [draft] feat: Refactor materialization engine May 21, 2025
HaoXuAI added 5 commits May 22, 2025 00:57
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
HaoXuAI added 6 commits May 25, 2025 17:25
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
tags: Optional[Dict[str, str]] = None,
online: bool = False,
offline: bool = True,
offline: bool = False,

@HaoXuAI HaoXuAI Jun 2, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be backward compatible for testing

A materialization engine abstracts over specific technologies or frameworks that are used to materialize data. It allows users to use a pure local serialized approach (which is the default LocalComputeEngine), or delegates the materialization to seperate components (e.g. AWS Lambda, as implemented by the the LambdaComputeEngine).

If the built-in engines are not sufficient, you can create your own custom materialization engine. Please see [this guide](../../how-to-guides/customizing-feast/creating-a-custom-materialization-engine.md) for more details.
If the built-in engines are not sufficient, you can create your own custom materialization engine. Please see [this guide](../../how-to-guides/customizing-feast/creating-a-custom-compute-engine.md) for more details.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other couple of reference to creating-a-custom-materialization-engine.md which needs to change as well
https://github.com/search?q=repo%3Afeast-dev%2Ffeast%20creating-a-custom-materialization-engine.md&type=code

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For sure, let me update in the next PR

@franciscojavierarceo franciscojavierarceo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

let's update docs in follow up 👍

@franciscojavierarceo
franciscojavierarceo merged commit f5c5360 into master Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants