OpenLineage integration with dbt
Project description
OpenLineage dbt integration
Wrapper script for dbt for automatic metadata collection
Features
Metadata
- Model run lifecycle
- Model inputs / outputs
Requirements
Right now, openlineage-dbt
only supports bigquery
, snowflake
, spark
and redshift
dbt adapters.
Installation
$ pip3 install openlineage-dbt
To install from source, run:
$ pip install .
Configuration
HTTP
Backend Environment Variables
openlineage-dbt
uses OpenLineage client to push data to OpenLineage backend.
OpenLineage client depends on environment variables:
OPENLINEAGE_URL
- point to service which will consume OpenLineage eventsOPENLINEAGE_API_KEY
- set if consumer of OpenLineage events requiresBearer
authentication keyOPENLINEAGE_NAMESPACE
- set if you are using something other than thedefault
namespace for job namespace.
Usage
To begin collecting dbt metadata with OpenLineage, replace dbt run
with dbt-ol run
.
Additional table and column level metadata will be available if catalog.json
, result of running dbt docs generate
will be found in target directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openlineage-dbt-0.10.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for openlineage_dbt-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb958158571731fd909ea9c780f5d53e3f51916985c8d6ba4b297f5458661d9 |
|
MD5 | f14d4580273f68926f9d2ac03453bff9 |
|
BLAKE2b-256 | 2a00d9c7e1e6f29d2c172788a11087e691ba4496fb4ed315ba7a55a8a375d6df |