|
1 | | -from pydantic import BaseModelfrom rialto.runner.config_loader import PipelineConfigfrom rialto.jobs import config |
2 | 1 |
|
3 | 2 | # Rialto |
4 | 3 |
|
@@ -106,7 +105,6 @@ pipelines: # a list of pipelines to run |
106 | 105 | metadata_manager: # optional |
107 | 106 | metadata_schema: catalog.metadata # schema where metadata is stored |
108 | 107 | feature_loader: # optional |
109 | | - config_path: model_features_config.yaml # path to the feature loader configuration file |
110 | 108 | feature_schema: catalog.feature_tables # schema where feature tables are stored |
111 | 109 | metadata_schema: catalog.metadata # schema where metadata is stored |
112 | 110 | extras: #optional arguments processed as dictionary |
@@ -171,23 +169,21 @@ overrides={"pipelines[name=SimpleGroup].target.target_schema": "new_schema"}, |
171 | 169 | #### Injecting/Replacing whole sections |
172 | 170 | You can directly replace a bigger section of the configuration by providing a dictionary |
173 | 171 | When the whole section doesn't exist, it will be added to the configuration, however it needs to be added as a whole. |
174 | | -i.e. if the yaml file doesn't specify feature_loader, you can't just add a feature_loader.config_path, you need to add the whole section. |
| 172 | +i.e. if the yaml file doesn't specify feature_loader, you can't just add a feature_loader.feature_schema, you need to add the whole section. |
175 | 173 | ```python |
176 | 174 | overrides={"pipelines[name=SimpleGroup].feature_loader": |
177 | | - {"config_path": "features_cfg.yaml", |
178 | | - "feature_schema": "catalog.features", |
| 175 | + {"feature_schema": "catalog.features", |
179 | 176 | "metadata_schema": "catalog.metadata"}} |
180 | 177 | ``` |
181 | 178 |
|
182 | 179 | #### Multiple overrides |
183 | 180 | You can provide multiple overrides at once, the order of execution is not guaranteed |
184 | 181 | ```python |
185 | | -overrides={"runner.watch_period_value": 4, |
186 | | - "runner.watch_period_units": "weeks", |
| 182 | +overrides={"runner.watched_period_value": 4, |
| 183 | + "runner.watched_period_units": "weeks", |
187 | 184 | "pipelines[name=SimpleGroup].target.target_schema": "new_schema", |
188 | 185 | "pipelines[name=SimpleGroup].feature_loader": |
189 | | - {"config_path": "features_cfg.yaml", |
190 | | - "feature_schema": "catalog.features", |
| 186 | + {"feature_schema": "catalog.features", |
191 | 187 | "metadata_schema": "catalog.metadata"} |
192 | 188 | } |
193 | 189 | ``` |
@@ -630,6 +626,7 @@ GroupMetadata |
630 | 626 | frequency: Schedule # generation frequency |
631 | 627 | description: str # group description |
632 | 628 | key: List[str] # group primary keys |
| 629 | + owner: str # owner of the group data (table) |
633 | 630 | fs_name: str = None # actual table name of this feature group in DataBricks |
634 | 631 | features: List[str] = None # A list of feature names belonging to this group |
635 | 632 | ``` |
|
0 commit comments