feature_lineage
Creates, updates, deletes, gets or lists a feature_lineage resource.
Overview
| Name | feature_lineage |
| Type | Resource |
| Id | databricks_workspace.ml.feature_lineage |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
feature_specs | array | |
models | array | List of Unity Catalog models that were trained on this feature. |
online_features | array | List of online features that use this feature as source. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | table_name, feature_name, deployment_name | Get Feature Lineage. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
feature_name | string | The name of the feature. |
table_name | string | The full name of the feature table in Unity Catalog. |
SELECT examples
- get
Get Feature Lineage.
SELECT
feature_specs,
models,
online_features
FROM databricks_workspace.ml.feature_lineage
WHERE table_name = '{{ table_name }}' -- required
AND feature_name = '{{ feature_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;