OpenDataDiscovery Action for dbt
Project description
OpenDataDiscovery dbt tests metadata collecting
Library used for running dbt tests and injecting them as entities to ODD platform.
Supported data sources
Source |
---|
Snowflake |
Redshift |
Postgres |
Requirements
Library to inject Quality Tests entities requires presence of corresponding with them datasets entities in the platform.
For example: if you want to inject data quality test of Snowflake table, you need to have entity of that table present in the platform.
Supported tests
Library supports for basics tests provided by dbt.
unique
: values in the column should be uniquenot_null
: values in the column should not contain null valuesaccepted_values
: column should only contain values from list specified in the test configrelationships
: each value in the select column of the model exists as a specified field in the reference table (also known as referential integrity)
ODDRN generation for datasets
host_settings of ODDRN generators required for source datasets are loaded from .dbt/profiles.yml
.
Profiles inside the file looks different for each type of data source.
Snowflake host_settings value is created from field account
. Field value should be <account_identifier>
For example the URL for an account uses the following format: <account_identifier>
.snowflakecomputing.com
Example Snowflake account identifier hj1234.eu-central-1
.
Redshift and Postgres host_settings are loaded from field host
field.
Example Redshift host: redshift-cluster-example.123456789.eu-central-1.redshift.amazonaws.com
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
Built Distribution
File details
Details for the file odd_dbt-0.1.1.tar.gz
.
File metadata
- Download URL: odd_dbt-0.1.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c88f8002d4f98a8c9a51667c9f6d39ee3db58a1cd88355a6803a7b718a0786 |
|
MD5 | e25200b9468b4a66ffdb5a133daa6ace |
|
BLAKE2b-256 | ffe66c8289c1b80f2c49cabc1f1dda0c764ded7a36996cb17a3b34d1b92ad795 |
File details
Details for the file odd_dbt-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: odd_dbt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 150e59061278aa173bc4a47eddf58b4e9298b1f63e7fd23b630b168d69f6f287 |
|
MD5 | a3d3fbe42554aec896717e66b237fe61 |
|
BLAKE2b-256 | e9c1b20d8f8e559b9058a82ae0715b02077b336ebac7c1c9b1df231896810e57 |