@@ -13,13 +13,13 @@ This system builds and executes DAGs (Directed Acyclic Graphs) of typed operatio
1313
1414## 🧠 Core Concepts
1515
16- | Component | Description |
17- | --------------------| --------------------------------------------------------------------|
18- | ` ComputeEngine ` | Interface for executing materialization and retrieval tasks |
19- | ` FeatureBuilder ` | Constructs a DAG for a specific backend |
20- | ` DAGNode ` | Represents a logical operation (read, aggregate, join, etc.) |
21- | ` ExecutionPlan ` | Executes nodes in dependency order and stores intermediate outputs |
22- | ` ExecutionContext ` | Holds config, registry, stores, entity data, and node outputs |
16+ | Component | Description |
17+ | --------------------| ---------------------------------------------------------------------- |
18+ | ` ComputeEngine ` | Interface for executing materialization and retrieval tasks |
19+ | ` FeatureBuilder ` | Constructs a DAG from Feature View definition for a specific backend |
20+ | ` DAGNode ` | Represents a logical operation (read, aggregate, join, etc.) |
21+ | ` ExecutionPlan ` | Executes nodes in dependency order and stores intermediate outputs |
22+ | ` ExecutionContext ` | Holds config, registry, stores, entity data, and node outputs |
2323
2424---
2525
@@ -52,6 +52,9 @@ To create your own compute engine:
52521 . ** Implement the interface**
5353
5454``` python
55+ from feast.infra.compute_engines.base import ComputeEngine
56+ from feast.infra.materialization.batch_materialization_engine import MaterializationTask, MaterializationJob
57+ from feast.infra.compute_engines.tasks import HistoricalRetrievalTask
5558class MyComputeEngine (ComputeEngine ):
5659 def materialize (self , task : MaterializationTask) -> MaterializationJob:
5760 ...
@@ -62,7 +65,9 @@ class MyComputeEngine(ComputeEngine):
6265
63662 . Create a FeatureBuilder
6467``` python
65- class MyDAGBuilder (FeatureBuilder ):
68+ from feast.infra.compute_engines.feature_builder import FeatureBuilder
69+
70+ class CustomFeatureBuilder (FeatureBuilder ):
6671 def build_source_node (self ): ...
6772 def build_aggregation_node (self , input_node ): ...
6873 def build_join_node (self , input_node ): ...
0 commit comments