Lineage for RDBMS sources shows the data flow and dependencies captured between database objects, including tables, views, columns, and parameters. Captured lineage may be incomplete.
Lineage overview
Lineage in RDBMS sources tracks the relationships and dependencies between database assets that lineage analysis captures. You can use these relationships to:
- Review data flow from source objects to destination objects
- Identify control dependencies between database objects
- Assess the possible impact of changes across database objects
A change to one object, such as a table column or parameter, can affect other downstream objects, such as view columns or procedure outputs.
Sample lineage relationships
The following examples on lineage relationships are captured for RDBMS sources:
| Source Asset Type | Destination Asset Type | Lineage Type | Predicate | |
|---|---|---|---|---|
| Name | Inverse Name | |||
| Table Column | View Column | Data Lineage | provides to | provided by |
| Table Column | View Column | Control Lineage | affects | is affected by |
| DB Parameter | DB Result Attribute | Control Lineage | affects | is affected by |
| Table Column | DB Result Attribute | Control Lineage | affects | is affected by |
| Table Column | DB Result Attribute | Data Lineage | provides to | provided by |
- Data Lineage: Represents the flow of data from a source asset to a destination asset. This lineage type indicates that data from the source asset can populate or derive the destination asset.
- Control Lineage: Represents control dependencies between assets. This lineage type indicates that changes to the source asset may affect the behavior or execution of the destination asset, without necessarily involving direct data flow.
Lineage analysis captures both data lineage and control lineage relationships. However, these relationships are not currently shown visually in the UI, so a lineage diagram in the UI does not display every captured relationship. To retrieve the captured relationships for an asset, use the lineage endpoints in the Data Catalog APIs. For more information, see Lineage.
Predicate definitions
Predicates describe the nature of the relationship between source and destination assets:
| Predicate | Definition |
|---|---|
| provides to | Indicates that the source asset can supply data to the destination asset. Used in Data Lineage relationships to show data flow. |
| provided by | The inverse of "provides to". Indicates that the destination asset can receive data from the source asset. |
| affects | Indicates that the source asset can influence the behavior, execution, or output of the destination asset. Used in Control Lineage relationships. |
| is affected by | The inverse of "affects". Indicates that changes to the source asset can influence the destination asset. |
Lineage examples
Example 1: Table Column to View Column (Data Lineage)
A column in a source table provides data to a column in a view. A change to the source table column can affect the view column.
Example 2: Parameter to Result Attribute (Control Lineage)
A parameter in a stored procedure can affect the result attributes returned. Changes to the parameter value can alter the output of the procedure.