sqlmesh-openlineage
OpenLineage integration for SQLMesh. Emit lineage events from SQLMesh plans and runs.
Emit OpenLineage events from SQLMesh plans and runs. Track data lineage across your SQLMesh pipelines with any OpenLineage-compatible backend (Marquez, Atlan, DataHub, etc.).
Installation
uv add sqlmesh-openlineage
# or
pip install sqlmesh-openlineage
Usage
Configure the OpenLineage transport and use the SQLMesh hook to emit lineage events automatically during plan and run operations.
from sqlmesh_openlineage import OpenLineageHook
hook = OpenLineageHook()