Lineage
Was this helpful?
Was this helpful?
The dependencies between resources. Learn more about lineage .
Preview Lineage from a Query.
The SQL query to analyze for lineage relationships
SELECT a.customer_id, b.order_id FROM customers a JOIN orders b ON a.customer_id = b.customer_id
SQL dialect of the query (e.g. postgresql, bigquery)
postgresql
ID of target table (optional)
550e8400-e29b-41d4-a716-446655440000
Default database name for resolving table references (optional)
production
Default schema name for resolving table references (optional)
public
Get lineage objects with optional filtering by source and destination entity.
The source resource.
7879886b-9e0e-4d02-8b37-c7d3c496a587
The destination resource.
b500ef23-c9b4-4259-a87d-d77b8b588f06
Create a new lineage object manually. Only one direction of the relationship needs to be created. The opposite direction of the lineage is automatically generated.
Indicates the source of the resource data.
7879886b-9e0e-4d02-8b37-c7d3c496a587
Points to the final destination of the resouce data through various transformations and entities.
b500ef23-c9b4-4259-a87d-d77b8b588f06
Represents the flow of the resource data. Values can be - Upstream Downstream
DOWNSTREAM
Create Lineage from a Query.
The SQL query to analyze for lineage relationships
SELECT a.customer_id, b.order_id FROM customers a JOIN orders b ON a.customer_id = b.customer_id
SQL dialect of the query (e.g. postgresql, bigquery)
postgresql
ID of target table (optional)
550e8400-e29b-41d4-a716-446655440000
Default database name for resolving table references (optional)
production
Default schema name for resolving table references (optional)
public
Create Lineage from Query and Removes Existing Upstream Non-Manual Lineage from Target Table.
The SQL query to analyze for lineage relationships
SELECT a.customer_id, b.order_id FROM customers a JOIN orders b ON a.customer_id = b.customer_id
SQL dialect of the query (e.g. postgresql, bigquery)
postgresql
ID of target table (optional)
550e8400-e29b-41d4-a716-446655440000
Default database name for resolving table references (optional)
production
Default schema name for resolving table references (optional)
public