Airbyte Metadata Ingestion Problem
Affected module Ingestion Describe the bug The Airbyte connector successfully discovers and ingests pipelines , but does not ingest pipeline execution metadata (run status, duration, rows synced) or create lineage between Airbyte pipelines and destination database tables. No errors are reported — ingestion shows 100% success. The Airbyte API returns execution data correctly when queried directly via curl, confirming the issue is on the OpenMetadata connector side. To Reproduce
Screenshots or steps to reproduce Set up an Airbyte 2.0.1 (OSS) service connection with Basic Authentication and API Version api/public/v1 Configure ingestion with Include Lineage enabled and Db Service Names set to the Snowflake database service name Run the metadata ingestion Pipelines are discovered but no execution metadata or lineage is created Airbyte API returns valid job data when queried directly:
bashcurl -u user:pass http://<host>:8000/api/public/v1/jobs?connectionId=<connection-id>
json{
"data": [
{
"jobId": 51,
"status": "succeeded",
"jobType": "sync",
"startTime": "2026-04-01T14:41:11Z",
"duration": "PT54S",
"bytesSynced": 775113,
"rowsSynced": 1230
}
]
}
Ingestion logs show no lineage processing attempt:
**Expected behavior**
Pipeline execution history (run status, duration, rows synced) should appear on the pipeline page
Lineage should be created between Airbyte pipelines and destination Snowflake tables when Db Service Names is configured
**Version:**
OS: Linux (Docker/Kubernetes)
OpenMetadata version: 1.12.3
OpenMetadata client version: 1.12.3.0
Airbyte version: 2.0.1 (OSS)
**Additional context**
Add any other context about the problem here.
I’d like to take this issue. I’ll investigate the connector’s handling of job metadata and lineage creation, reproduce the bug, and propose a fix.
Thanks @Amanjha112113, I have assigned you to this issue, looking forward to your fix!
Thanks a lot ! also something worth noting is that i had to switch the api version field in the airbyte connector setup to api/public/v1 instead of the default api/v1 that was failing. I followed their official doc
Hello @harshach @Amanjha112113 ! Hope you are well ! do you have any updates on the ETA of this issue ?
Dug into this against a self-hosted Airbyte OSS instance (public API, api/public/v1) on main. There are three distinct root causes why no lineage is produced for self-hosted/public-API setups:
1. Source/destination config field name mismatch
AirbyteSourceResponse/AirbyteDestinationResponse (ingestion/.../airbyte/models.py) only define connectionConfiguration, but the public API returns the config under configuration:
GET /api/public/v1/sources/{id} -> { sourceId, name, sourceType, configuration, ... } # no connectionConfiguration
GET /api/public/v1/destinations/{id} -> { destinationId, name, destinationType, configuration: { database, schema, warehouse, ... } }
So get_source_table_details/get_destination_table_details read connectionConfiguration or {} → empty → schema/database resolve to None → lineage skipped.
2. Connector-type identifier mismatch (enum uses display names, public API uses slugs)
constants.py matches on internal-API display names (AirbyteSource.POSTGRES = "Postgres", MSSQL = "Microsoft SQL Server (MSSQL)"), but the public API returns slugs in sourceType/destinationType (postgres, mssql, mysql). Even after fixing (1), the if source_name not in [...] guard fails and returns None.
3. Warehouse destinations (e.g. Snowflake) are unsupported
get_destination_table_details only allows POSTGRES/MSSQL/MYSQL. The setup in this issue uses a Snowflake destination, whose configuration cleanly exposes database + schema — but it's rejected by the guard, so no lineage is produced regardless of (1) and (2).
Note also the execution-metadata half of this report (run status/duration/rows) flows through a separate public-API jobs path and should be verified independently.
I'll open a focused PR addressing (1) and (2) — making lineage work on the public API for the already-supported DB connector types. (3) (adding Snowflake/warehouse destinations) is a larger enhancement and probably deserves its own discussion on which destinations to support.
I can confirm this issue is still present on a more recent combination of versions:
- OpenMetadata: 1.13.1
- Airbyte: 2.1.0 OSS (self-hosted, Kubernetes deployment with Keycloak-based auth)
Same symptoms as reported: the pipeline is discovered correctly, the workflow reports "Success: 100%", but no execution metadata and no lineage is ever created — even with Include Lineage enabled and Db Service Names correctly set to both the source (Postgres) and destination (StarRocks) database services.
I found what looks like the root cause in the Usage/Metadata agent logs — an error that gets caught and logged rather than failing the workflow (which is why it still reports 100% success):
Error running stage processor: 'AirbyteCloudJob' object has no attribute 'attempts'
This strongly suggests the connector is deserializing the job/attempt details using a model built for Airbyte Cloud's API response shape, which doesn't match what self-hosted Airbyte's api/public/v1 returns. This would be consistent with another issue I ran into on the same connector: the OAuth 2.0 Client Credentials auth option calls {hostPort}/{api_version}/applications/token, which is also an Airbyte Cloud–specific endpoint that doesn't exist on self-hosted instances.
I confirmed via direct curl calls (same auth, same host) that the Airbyte API itself returns valid data for /api/public/v1/workspaces and job details — so this does appear to be entirely on the OpenMetadata connector side, not an Airbyte or network/auth issue.
Happy to share more logs/config details if useful for debugging.