The lineage object provides fine-grained information about data origins and transformations, based on the OpenLinage Column Level Lineage Dataset Facet. It is defined within a field's configuration.
InputField Object
An inputFields array describes the source data points:
namespace: The source system or domain (e.g., com.example.crm, snowflake://{account}).name: The source dataset name (e.g., a table name or Kafka topic).field: The specific source field or column.transformations: An optional array of Transformation objects describing how the data was processed.
Transformation Object
Describes the relationship between the input and the final field:
type: Either DIRECT or INDIRECT.subtype:- For
DIRECT: IDENTITY, TRANSFORMATION, or AGGREGATION. - For
INDIRECT: JOIN, GROUP_BY, FILTER, SORT, WINDOW, or CONDITIONAL.
description: A string describing the transformation.masking: A boolean indicating if the value was obfuscated.
models:
orders:
fields:
customer_email_address_hash:
type: string
lineage:
inputFields:
- namespace: com.example.service.checkout
name: checkout_db.orders
field: email_address
transformations:
- type: DIRECT
subtype: TRANSFORMATION
description: The email address from the checkout order, hashed with SHA-256
masking: true