Matillion
Overview
Matillion Data Productivity Cloud (DPC) is a cloud-native data integration platform for building, orchestrating, and monitoring data pipelines. Learn more in the official Matillion documentation.
The DataHub integration for Matillion DPC ingests pipelines, streaming pipelines, projects, and environments as DataHub entities. It captures table- and column-level lineage via the Matillion OpenLineage API, pipeline execution history as operational metadata, and child pipeline dependency relationships for end-to-end orchestration visibility.
Concept Mapping
| Source Concept | DataHub Concept | Notes |
|---|---|---|
| Project | Container | Top-level grouping of pipelines within a Matillion account. |
| Environment | Container | Deployment environment within a project (e.g. Production, Staging). |
| Pipeline | DataFlow | An orchestration pipeline that transforms or moves data. |
| Pipeline Component / Step | DataJob | An individual step within a pipeline. |
| Streaming Pipeline | DataFlow | A CDC or streaming pipeline, emitted with pipeline_type=streaming. |
| Pipeline Execution | DataProcessInstance | A single run of a pipeline, including status and timing. |
| OpenLineage table reference | Dataset | Upstream or downstream dataset referenced via OpenLineage events. |
| Table/column lineage edge | Lineage edge | Extracted from OpenLineage events; column-level via SQL parsing. |
Module matillion-dpc
Important Capabilities
| Capability | Status | Notes |
|---|---|---|
| Column-level Lineage | ✅ | Enabled by default, can be disabled via configuration parse_sql_for_lineage. |
| Detect Deleted Entities | ✅ | Enabled via stateful ingestion. |
| Platform Instance | ✅ | Enabled by default. |
| Table-Level Lineage | ✅ | Enabled by default via OpenLineage data from pipeline executions. |
Overview
The matillion-dpc module ingests metadata from Matillion Data Productivity Cloud (DPC) into DataHub. It extracts pipelines, streaming pipelines, projects, environments, execution history, and table and column-level lineage via the Matillion OpenLineage API.
Prerequisites
Obtain API Credentials
The connector uses OAuth2 client credentials and automatically handles token generation and refresh.
- Log into Matillion Data Productivity Cloud as a Super Admin
- Navigate to Profile & Account → API credentials
- Click Set an API Credential
- Provide a descriptive name (e.g., "DataHub Integration")
- Assign an Account Role with read permissions to required APIs
- Click Save and immediately copy the Client Secret (not shown again)
- Note the Client ID (remains visible)
For detailed instructions, see Matillion API Authentication.
Required Permissions
The API credentials must have an Account Role with Read permissions to:
- Projects (
/v1/projects) - Environments (
/v1/environments) - Pipelines (
/v1/pipelines) - Schedules (
/v1/schedules) - Lineage Events (
/v1/lineage/events) - Pipeline Executions (
/v1/pipeline-executions) - optional - Streaming Pipelines (
/v1/streaming-pipelines) - optional
If using an account role other than Super Admin, grant project and environment-level roles as needed.
See Matillion RBAC documentation for details.
Lineage and Dependencies
The connector automatically extracts:
- Table and Column-Level Lineage - From OpenLineage Events API (
/v1/lineage/events) (docs) - Operational Metadata - Pipeline execution history from Pipeline Executions API (
/v1/pipeline-executions) emitted as DataProcessInstance entities (docs) - Child Pipeline Dependencies - Automatically tracks when pipelines call other pipelines, creating step-to-step dependency relationships for comprehensive pipeline orchestration visibility
OpenLineage Namespace Mapping (Optional)
Optional: Map OpenLineage namespace URIs to DataHub platform instances for lineage connections. If not configured, the connector extracts platform type from URIs (e.g., postgresql://... → postgres) with default environment (PROD).
When to use: Configure this when you need lineage to connect to existing datasets with platform instances.
Example namespaces: postgresql://host:5432, snowflake://account.snowflakecomputing.com, bigquery://project
namespace_to_platform_instance:
"postgresql://prod-db.us-east-1.rds.amazonaws.com:5432":
platform_instance: postgres_prod
env: PROD
database: analytics
schema: public
"snowflake://prod-account.snowflakecomputing.com":
platform_instance: snowflake_prod
env: PROD
convert_urns_to_lowercase: true
Platform instances must match those used when ingesting the source data platforms.
Install the Plugin
pip install 'acryl-datahub[matillion-dpc]'
Starter Recipe
Check out the following recipe to get started with ingestion! See below for full configuration options.
For general pointers on writing and running a recipe, see our main recipe guide.
source:
type: matillion-dpc
config:
api_config:
client_id: "${MATILLION_CLIENT_ID}"
client_secret: "${MATILLION_CLIENT_SECRET}"
region: "EU1" # EU1, US1, or AU1
env: "PROD"
# Optional: Map OpenLineage namespaces to DataHub platform instances
# Required if existing datasets use platform instances
namespace_to_platform_instance:
"postgresql://prod-db.us-east-1.rds.amazonaws.com:5432":
platform_instance: postgres_prod
env: PROD
database: analytics
schema: public
"snowflake://prod-account.snowflakecomputing.com":
platform_instance: snowflake_prod
env: PROD
convert_urns_to_lowercase: true
"bigquery://my-gcp-project":
platform_instance: bigquery_prod
env: PROD
include_streaming_pipelines: true
include_unpublished_pipelines: true
max_executions_per_pipeline: 10
extract_projects_to_containers: true
# Optional: Filter projects, environments, pipelines using regex patterns
# project_patterns:
# allow: ["^prod-.*", "^staging-.*"]
# deny: [".*-deprecated$", ".*-archived$"]
# environment_patterns:
# allow: ["^production$", "^staging$"]
# pipeline_patterns:
# deny: ["^test_.*", ".*_backup$"]
# streaming_pipeline_patterns:
# allow: ["^cdc_.*"]
stateful_ingestion:
enabled: true
sink:
type: datahub-rest
config:
server: "http://localhost:8080"
Config Details
- Options
- Schema
Note that a . is used to denote nested fields in the YAML recipe.
| Field | Description |
|---|---|
api_config ✅ MatillionAPIConfig | |
api_config.client_id ❓ string(password) | Matillion API Client ID for OAuth2 authentication. |
api_config.client_secret ❓ string(password) | Matillion API Client Secret for OAuth2 authentication. |
api_config.custom_base_url One of string, null | Custom API base URL for VPC endpoints or on-premise installations. Default: None |
api_config.custom_oauth_token_url One of string, null | Custom OAuth2 token endpoint URL for VPC endpoints or on-premise installations. Default: None |
api_config.region Enum | One of: "EU1", "US1", "AU1" |
api_config.request_timeout_sec integer | Per-request timeout in seconds. On timeouts, prefer narrowing start_time/end_time or enabling stateful ingestion over a large timeout. Default: 30 |
bucket_duration Enum | One of: "DAY", "HOUR" |
end_time string(date-time) | Latest date of lineage/usage to consider. Default: Current time in UTC |
extract_projects_to_containers boolean | Whether to add the top-level Matillion project as a DataHub container. Environment and folder containers are always created; this only controls whether they are nested under a project container or hang at the root. Default: True |
extract_run_history boolean | Emit run history (DataProcessInstances) for published pipelines by fetching their executions in the time window. Implied when include_unpublished_pipelines is enabled. Default: False |
include_dependent_pipelines boolean | Whether to ingest dependent (child) pipelines that are only referenced via lineage events and were not discovered as project pipelines (published or via execution history). When disabled, lineage is still emitted for discovered pipelines, but these lineage-only dependencies are not created as their own DataFlows/DataJobs. Default: True |
include_external_urls boolean | Whether to emit links back to the Matillion console (project, run, and pipeline). Off by default because the pipeline link searches the observability dashboard by file name and only resolves for pipelines that ran recently and whose editor name matches their file name. Enable to add all Matillion external links. Default: False |
include_streaming_pipelines boolean | Whether to ingest Matillion streaming pipelines (CDC pipelines). Streaming pipelines are emitted as separate DataFlows with pipeline_type='streaming'. Default: True |
include_unpublished_pipelines boolean | Whether to discover and ingest unpublished pipelines from recent execution history. When enabled, the connector will discover pipelines that have been executed but not yet published. Disable this to only ingest published pipelines from the published-pipelines API. Default: True |
lineage_platform_mapping One of string, null | Override platform name mappings from OpenLineage namespaces to DataHub platforms. Only needed for non-standard platforms. See documentation for list of pre-mapped platforms. Example: {"customdb": "postgres", "mywarehouse": "snowflake"} Default: None |
max_executions_per_pipeline integer | Maximum number of recent pipeline executions to ingest per pipeline. Set to 0 to disable execution ingestion. Default: 10 |
parse_sql_for_lineage boolean | Whether to parse SQL from OpenLineage events to extract additional column-level lineage. Requires DataHub graph access. When enabled, SQL queries are parsed to infer lineage beyond what's explicitly provided in OpenLineage column mappings. Default: True |
platform_instance One of string, null | The instance of the platform that all assets produced by this recipe belong to Default: None |
start_time string(date-time) | Earliest date of lineage/usage to consider. Default: Last full day in UTC (or hour, depending on bucket_duration). You can also specify relative time with respect to end_time such as '-7 days' Or '-7d'. Default: None |
env string | The environment that all assets produced by DataHub platform ingestion source belong to Default: PROD |
environment_patterns AllowDenyPattern | A class to store allow deny regexes |
environment_patterns.ignoreCase One of boolean, null | Whether to ignore case sensitivity during pattern matching. Default: True |
environment_patterns.allow array | List of regex patterns to include in ingestion Default: ['.*'] |
environment_patterns.allow.string string | |
environment_patterns.deny array | List of regex patterns to exclude from ingestion. Default: [] |
environment_patterns.deny.string string | |
namespace_to_platform_instance One of NamespacePlatformMapping, null | Maps OpenLineage namespace prefixes to platform instance/environment using longest prefix matching. Unmapped namespaces extract platform from URI with defaults (env=PROD). Example: {"snowflake://prod-account": {"platform_instance": "snowflake_prod", "env": "PROD"}} Default: None |
namespace_to_platform_instance. key.platform_instanceOne of string, null | DataHub platform instance to use for datasets from this namespace Default: None |
namespace_to_platform_instance. key.convert_urns_to_lowercaseboolean | Whether to convert dataset URNs to lowercase for this namespace. Default: False |
namespace_to_platform_instance. key.databaseOne of string, null | Default database name to prepend if dataset name doesn't include database context Default: None |
namespace_to_platform_instance. key.schemaOne of string, null | Default schema name to prepend if dataset name doesn't include schema context Default: None |
namespace_to_platform_instance. key.envstring | Environment (PROD, DEV, etc.) to use for datasets from this namespace Default: PROD |
pipeline_patterns AllowDenyPattern | A class to store allow deny regexes |
pipeline_patterns.ignoreCase One of boolean, null | Whether to ignore case sensitivity during pattern matching. Default: True |
pipeline_patterns.allow array | List of regex patterns to include in ingestion Default: ['.*'] |
pipeline_patterns.allow.string string | |
pipeline_patterns.deny array | List of regex patterns to exclude from ingestion. Default: [] |
pipeline_patterns.deny.string string | |
project_patterns AllowDenyPattern | A class to store allow deny regexes |
project_patterns.ignoreCase One of boolean, null | Whether to ignore case sensitivity during pattern matching. Default: True |
project_patterns.allow array | List of regex patterns to include in ingestion Default: ['.*'] |
project_patterns.allow.string string | |
project_patterns.deny array | List of regex patterns to exclude from ingestion. Default: [] |
project_patterns.deny.string string | |
streaming_pipeline_patterns AllowDenyPattern | A class to store allow deny regexes |
streaming_pipeline_patterns.ignoreCase One of boolean, null | Whether to ignore case sensitivity during pattern matching. Default: True |
streaming_pipeline_patterns.allow array | List of regex patterns to include in ingestion Default: ['.*'] |
streaming_pipeline_patterns.allow.string string | |
streaming_pipeline_patterns.deny array | List of regex patterns to exclude from ingestion. Default: [] |
streaming_pipeline_patterns.deny.string string | |
stateful_ingestion One of StatefulStaleMetadataRemovalConfig, null | Stateful ingestion configuration. Default: None |
stateful_ingestion.enabled boolean | Whether or not to enable stateful ingest. Default: True if a pipeline_name is set and either a datahub-rest sink or datahub_api is specified, otherwise False Default: False |
stateful_ingestion.fail_safe_threshold number | Prevents large amount of soft deletes & the state from committing from accidental changes to the source configuration if the relative change percent in entities compared to the previous state is above the 'fail_safe_threshold'. Default: 75.0 |
stateful_ingestion.remove_stale_metadata boolean | Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled. Default: True |
The JSONSchema for this configuration is inlined below.
{
"$defs": {
"AllowDenyPattern": {
"additionalProperties": false,
"description": "A class to store allow deny regexes",
"properties": {
"allow": {
"default": [
".*"
],
"description": "List of regex patterns to include in ingestion",
"items": {
"type": "string"
},
"title": "Allow",
"type": "array"
},
"deny": {
"default": [],
"description": "List of regex patterns to exclude from ingestion.",
"items": {
"type": "string"
},
"title": "Deny",
"type": "array"
},
"ignoreCase": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": true,
"description": "Whether to ignore case sensitivity during pattern matching.",
"title": "Ignorecase"
}
},
"title": "AllowDenyPattern",
"type": "object"
},
"BucketDuration": {
"enum": [
"DAY",
"HOUR"
],
"title": "BucketDuration",
"type": "string"
},
"MatillionAPIConfig": {
"additionalProperties": false,
"properties": {
"client_id": {
"description": "Matillion API Client ID for OAuth2 authentication.",
"format": "password",
"title": "Client Id",
"type": "string",
"writeOnly": true
},
"client_secret": {
"description": "Matillion API Client Secret for OAuth2 authentication.",
"format": "password",
"title": "Client Secret",
"type": "string",
"writeOnly": true
},
"region": {
"$ref": "#/$defs/MatillionRegion",
"default": "EU1",
"description": "Matillion Data Productivity Cloud region (EU1, US1, or AU1)"
},
"custom_base_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Custom API base URL for VPC endpoints or on-premise installations.",
"title": "Custom Base Url"
},
"custom_oauth_token_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Custom OAuth2 token endpoint URL for VPC endpoints or on-premise installations.",
"title": "Custom Oauth Token Url"
},
"request_timeout_sec": {
"default": 30,
"description": "Per-request timeout in seconds. On timeouts, prefer narrowing start_time/end_time or enabling stateful ingestion over a large timeout.",
"title": "Request Timeout Sec",
"type": "integer"
}
},
"required": [
"client_id",
"client_secret"
],
"title": "MatillionAPIConfig",
"type": "object"
},
"MatillionRegion": {
"enum": [
"EU1",
"US1",
"AU1"
],
"title": "MatillionRegion",
"type": "string"
},
"NamespacePlatformMapping": {
"additionalProperties": false,
"properties": {
"platform_instance": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "DataHub platform instance to use for datasets from this namespace",
"title": "Platform Instance"
},
"env": {
"default": "PROD",
"description": "Environment (PROD, DEV, etc.) to use for datasets from this namespace",
"title": "Env",
"type": "string"
},
"database": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Default database name to prepend if dataset name doesn't include database context",
"title": "Database"
},
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Default schema name to prepend if dataset name doesn't include schema context",
"title": "Schema"
},
"convert_urns_to_lowercase": {
"default": false,
"description": "Whether to convert dataset URNs to lowercase for this namespace.",
"title": "Convert Urns To Lowercase",
"type": "boolean"
}
},
"title": "NamespacePlatformMapping",
"type": "object"
},
"StatefulStaleMetadataRemovalConfig": {
"additionalProperties": false,
"description": "Base specialized config for Stateful Ingestion with stale metadata removal capability.",
"properties": {
"enabled": {
"default": false,
"description": "Whether or not to enable stateful ingest. Default: True if a pipeline_name is set and either a datahub-rest sink or `datahub_api` is specified, otherwise False",
"title": "Enabled",
"type": "boolean"
},
"remove_stale_metadata": {
"default": true,
"description": "Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled.",
"title": "Remove Stale Metadata",
"type": "boolean"
},
"fail_safe_threshold": {
"default": 75.0,
"description": "Prevents large amount of soft deletes & the state from committing from accidental changes to the source configuration if the relative change percent in entities compared to the previous state is above the 'fail_safe_threshold'.",
"maximum": 100.0,
"minimum": 0.0,
"title": "Fail Safe Threshold",
"type": "number"
}
},
"title": "StatefulStaleMetadataRemovalConfig",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"env": {
"default": "PROD",
"description": "The environment that all assets produced by DataHub platform ingestion source belong to",
"title": "Env",
"type": "string"
},
"platform_instance": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The instance of the platform that all assets produced by this recipe belong to",
"title": "Platform Instance"
},
"stateful_ingestion": {
"anyOf": [
{
"$ref": "#/$defs/StatefulStaleMetadataRemovalConfig"
},
{
"type": "null"
}
],
"default": null,
"description": "Stateful ingestion configuration."
},
"bucket_duration": {
"$ref": "#/$defs/BucketDuration",
"default": "DAY",
"description": "Size of the time window to aggregate usage stats."
},
"end_time": {
"description": "Latest date of lineage/usage to consider. Default: Current time in UTC",
"format": "date-time",
"title": "End Time",
"type": "string"
},
"start_time": {
"default": null,
"description": "Earliest date of lineage/usage to consider. Default: Last full day in UTC (or hour, depending on `bucket_duration`). You can also specify relative time with respect to end_time such as '-7 days' Or '-7d'.",
"format": "date-time",
"title": "Start Time",
"type": "string"
},
"api_config": {
"$ref": "#/$defs/MatillionAPIConfig",
"description": "Matillion API configuration"
},
"max_executions_per_pipeline": {
"default": 10,
"description": "Maximum number of recent pipeline executions to ingest per pipeline. Set to 0 to disable execution ingestion.",
"title": "Max Executions Per Pipeline",
"type": "integer"
},
"parse_sql_for_lineage": {
"default": true,
"description": "Whether to parse SQL from OpenLineage events to extract additional column-level lineage. Requires DataHub graph access. When enabled, SQL queries are parsed to infer lineage beyond what's explicitly provided in OpenLineage column mappings.",
"title": "Parse Sql For Lineage",
"type": "boolean"
},
"namespace_to_platform_instance": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/NamespacePlatformMapping"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Maps OpenLineage namespace prefixes to platform instance/environment using longest prefix matching. Unmapped namespaces extract platform from URI with defaults (env=PROD). Example: {\"snowflake://prod-account\": {\"platform_instance\": \"snowflake_prod\", \"env\": \"PROD\"}}",
"title": "Namespace To Platform Instance"
},
"lineage_platform_mapping": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Override platform name mappings from OpenLineage namespaces to DataHub platforms. Only needed for non-standard platforms. See documentation for list of pre-mapped platforms. Example: {\"customdb\": \"postgres\", \"mywarehouse\": \"snowflake\"}",
"title": "Lineage Platform Mapping"
},
"include_streaming_pipelines": {
"default": true,
"description": "Whether to ingest Matillion streaming pipelines (CDC pipelines). Streaming pipelines are emitted as separate DataFlows with pipeline_type='streaming'.",
"title": "Include Streaming Pipelines",
"type": "boolean"
},
"streaming_pipeline_patterns": {
"$ref": "#/$defs/AllowDenyPattern",
"default": {
"allow": [
".*"
],
"deny": [],
"ignoreCase": true
},
"description": "Regex patterns for filtering Matillion streaming pipelines to ingest."
},
"pipeline_patterns": {
"$ref": "#/$defs/AllowDenyPattern",
"default": {
"allow": [
".*"
],
"deny": [],
"ignoreCase": true
},
"description": "Regex patterns for filtering Matillion pipelines to ingest."
},
"project_patterns": {
"$ref": "#/$defs/AllowDenyPattern",
"default": {
"allow": [
".*"
],
"deny": [],
"ignoreCase": true
},
"description": "Regex patterns for filtering Matillion projects to ingest."
},
"environment_patterns": {
"$ref": "#/$defs/AllowDenyPattern",
"default": {
"allow": [
".*"
],
"deny": [],
"ignoreCase": true
},
"description": "Regex patterns for filtering Matillion environments to ingest."
},
"extract_projects_to_containers": {
"default": true,
"description": "Whether to add the top-level Matillion project as a DataHub container. Environment and folder containers are always created; this only controls whether they are nested under a project container or hang at the root.",
"title": "Extract Projects To Containers",
"type": "boolean"
},
"include_unpublished_pipelines": {
"default": true,
"description": "Whether to discover and ingest unpublished pipelines from recent execution history. When enabled, the connector will discover pipelines that have been executed but not yet published. Disable this to only ingest published pipelines from the published-pipelines API.",
"title": "Include Unpublished Pipelines",
"type": "boolean"
},
"extract_run_history": {
"default": false,
"description": "Emit run history (DataProcessInstances) for published pipelines by fetching their executions in the time window. Implied when include_unpublished_pipelines is enabled.",
"title": "Extract Run History",
"type": "boolean"
},
"include_dependent_pipelines": {
"default": true,
"description": "Whether to ingest dependent (child) pipelines that are only referenced via lineage events and were not discovered as project pipelines (published or via execution history). When disabled, lineage is still emitted for discovered pipelines, but these lineage-only dependencies are not created as their own DataFlows/DataJobs.",
"title": "Include Dependent Pipelines",
"type": "boolean"
},
"include_external_urls": {
"default": false,
"description": "Whether to emit links back to the Matillion console (project, run, and pipeline). Off by default because the pipeline link searches the observability dashboard by file name and only resolves for pipelines that ran recently and whose editor name matches their file name. Enable to add all Matillion external links.",
"title": "Include External Urls",
"type": "boolean"
}
},
"required": [
"api_config"
],
"title": "MatillionSourceConfig",
"type": "object"
}
Capabilities
OpenLineage Namespace Mapping
Optional configuration to map OpenLineage namespace URIs to DataHub platform information. Without this, the connector extracts platform type from URIs with default environment.
Fields:
platform_instance: Platform instance identifier (must match source ingestion)database/schema: Defaults for incomplete dataset names from OpenLineage- 3-tier platforms (Snowflake, Postgres, Redshift):
database.schema.table - 2-tier platforms (MySQL, Hive):
schema.table
- 3-tier platforms (Snowflake, Postgres, Redshift):
convert_urns_to_lowercase: Normalize URNs to lowercase (usetruefor Snowflake)env: Environment tag (PROD, DEV, etc.)
Fallback behavior: Unmapped namespaces extract platform type from the URI (e.g., postgresql://... → postgres) without platform instance assignment.
SQL Parsing for Column-Level Lineage
Enable parse_sql_for_lineage: true to parse SQL queries from OpenLineage events for additional column-level lineage.
Requirements:
- DataHub graph connection configured
- Schema information in OpenLineage events
Platform-Specific Handling
Snowflake: Use convert_urns_to_lowercase: true in namespace mapping
BigQuery: 3-tier naming (project.dataset.table). Set database: project-id, schema: dataset-name
MySQL / 2-tier: 2-tier naming (schema.table). Set schema only
Postgres / Redshift: 3-tier naming (database.schema.table). Set both database and schema
Container Hierarchy
Pipelines and their components are organized into a browsable container hierarchy that mirrors their path in Matillion:
Project › Environment › <folder> › … › Pipeline › Component
The folder levels come from the pipeline's path (e.g. ingest/staging/orders/load.orch.yaml
yields ingest › staging › orders folders), so the browse tree lines up with the paths
you match on in pipeline_patterns. Components (DataJobs) live in their pipeline's folder and browse
directly under the pipeline.
The environment and folder levels are always built. extract_projects_to_containers (default true)
only controls whether the top-level Project container is added to the hierarchy; set it to false
to hang environments (and their folders) directly at the root instead of under a project.
Filtering Options
The connector supports flexible regex-based filtering to control what metadata is ingested.
Project Filtering
project_patterns:
allow: ["^prod-.*", "^staging-.*"]
deny: [".*-deprecated$"]
Environment Filtering
environment_patterns:
allow: ["^production$", "^staging$"]
deny: ["^sandbox.*"]
Pipeline Filtering
pipeline_patterns:
allow: [".*"]
deny: ["^test_.*", ".*_backup$"]
Streaming Pipeline Filtering
streaming_pipeline_patterns:
allow: ["^cdc_.*"]
deny: [".*_test$"]
All patterns are case-insensitive by default and support full regex syntax. Deny patterns take precedence over allow patterns.
Child Pipeline Dependencies
The connector automatically detects and tracks when pipelines call other pipelines (via "Run Pipeline" components). This creates step-level dependency relationships in DataHub, showing:
- Which pipeline steps trigger child pipelines
- Complete execution lineage across pipeline orchestrations
- Cross-pipeline data flow for comprehensive impact analysis
No configuration needed — this feature is automatic when execution history is ingested.
Child pipelines that only appear in lineage events (and were not discovered as project pipelines themselves) are, by default, created as their own DataFlows/DataJobs so the full dependency graph is captured. To suppress these lineage-only dependencies and keep ingestion scoped to discovered pipelines, disable:
include_dependent_pipelines: false
Lineage is still emitted for discovered pipelines when this is disabled — only the lineage-only dependent pipelines are skipped.
Published vs Unpublished Pipelines
The connector can discover pipelines from two sources:
- Published Pipelines — Pipelines explicitly published in Matillion DPC (fetched from
/published-pipelinesAPI) - Unpublished Pipelines — Pipelines discovered from recent execution history (fetched from
/pipeline-executionsAPI)
By default, both types are ingested. To only ingest published pipelines:
include_unpublished_pipelines: false
This is useful when:
- You want to control what appears in DataHub via Matillion's publish workflow
- You have many development/test pipelines that run but shouldn't be documented
- You want to reduce ingestion time and API calls
Run History (DataProcessInstances)
Run history — per-execution DataProcessInstance entities with status and timing — is produced from the pipeline-executions API. Each execution surfaces a run on the pipeline (DataFlow) itself as well as on each of its components (DataJobs), so the "Runs" tab is populated at both levels. When include_unpublished_pipelines: true, this happens automatically as part of discovery.
When include_unpublished_pipelines: false, discovery only lists published pipelines and does not fetch executions, so no runs are emitted by default. To get run history for your published pipelines without also ingesting unpublished ones, enable:
include_unpublished_pipelines: false
extract_run_history: true
This fetches executions within the configured time window and attaches runs to the matching published pipelines. It is off by default because it calls the pipeline-executions and per-execution steps APIs, which are slower and degrade over wider time windows — pair it with a narrow start_time / end_time and stateful ingestion.
Enabling it has a second benefit: lineage often references unpublished child orchestrations (e.g. SRC_*_ORCH pipelines invoked by a published schedule). The OpenLineage namespace only carries an opaque environment UUID, so when such a pipeline is neither published nor seen in executions, its environment cannot be resolved and the connector skips it rather than placing it in a pipeline with no environment. Because executions report the environment name, enabling extract_run_history (or include_unpublished_pipelines) lets these child orchestrations resolve their environment and nest correctly under it.
Time Window and Incremental Ingestion
Pipeline-execution discovery and lineage are bounded by start_time / end_time. If you do not set them, end_time defaults to now and start_time defaults to the start (00:00 UTC) of the previous day — i.e. at least the last 24 hours of jobs. Set start_time to backfill more history on the first run, especially if your pipelines do not run daily:
start_time: "2024-01-01T00:00:00Z" # absolute
# start_time: "-30d" # or relative to end_time
Enable stateful ingestion so subsequent runs only fetch new lineage instead of re-reading the whole window:
stateful_ingestion:
enabled: true
Lineage endpoint performance: the Matillion lineage events API paginates by offset and gets progressively slower the further back it reads. Wide time windows therefore both increase total runtime and make individual requests more likely to time out. Lineage requests are automatically split into sub-windows of at most 31 days (the API's hard limit per request), but each sub-window still pages through its full result set. Prefer a narrower window plus stateful ingestion over a single very large backfill, and only raise api_config.request_timeout_sec when a genuinely large window is unavoidable (a high timeout multiplies the worst-case wait, since failed requests are retried).
Limitations
- SQL parsing for column-level lineage requires a DataHub graph connection and schema information in OpenLineage events. Unsupported SQL dialects or complex queries are skipped with a warning.
- Column-level lineage is only available when Matillion pipelines emit SQL via OpenLineage; transformations without SQL output will have coarse-grained lineage only.
- Matillion console links (project, run, and pipeline) are off by default; set
include_external_urls: trueto emit them. Pipeline names and the pipeline link use the pipeline file name — the only name the API exposes; a different display name set inside the Maia editor is not retrievable. The pipeline link opens the observability dashboard pre-filtered by that file name (there is no per-pipeline deep-link), so the pipeline must have run within the dashboard's time window to appear.
Troubleshooting
Lineage Not Showing Up
- Verify namespace mapping matches source ingestion platform instances
- Check logs for
Processing OpenLineage eventmessages - Confirm dataset names in OpenLineage match actual tables
Column-Level Lineage Missing
Enable parse_sql_for_lineage: true (requires DataHub graph connection).
Execution History Not Appearing
- Adjust
start_timeto query further back in time if needed - Verify API permissions for Pipeline Executions API
Performance Issues or Request Timeouts
The lineage events endpoint paginates by offset and slows down the further back in time it reads, so wide windows are the most common cause of slow runs and request_timeout_sec timeouts. In order of preference:
- Narrow the time window by adjusting
start_time(e.g., last 7 days instead of 30) and enablestateful_ingestionso later runs stay incremental. - Use filtering patterns to reduce scope:
project_patternsto filter projectsenvironment_patternsto filter environmentspipeline_patternsto filter pipelinesstreaming_pipeline_patternsto filter streaming pipelines
- Disable
include_streaming_pipelinesif not needed. - As a last resort, raise
api_config.request_timeout_sec. Keep it as low as practical — failed requests are retried, so a very high timeout multiplies the worst-case wait on a slow endpoint.
Code Coordinates
- Class Name:
datahub.ingestion.source.matillion_dpc.matillion.MatillionSource - Browse on GitHub
If you've got any questions on configuring ingestion for Matillion, feel free to ping us on our Slack.
This page is auto-generated from the underlying source code. To make changes, please edit the relevant source files in the metadata-ingestion directory.
Tip: For quick typo fixes or documentation updates, you can click the ✏️ Edit icon directly in the GitHub UI to open a Pull Request. For larger changes and PR naming conventions, please refer to our Contributing Guide.