Skip to main content

OpenDataDiscovery Action for dbt

Project description

OpenDataDiscovery dbt tests metadata collecting

PyPI version

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 unique
  • not_null: values in the column should not contain null values
  • accepted_values: column should only contain values from list specified in the test config
  • relationships: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odd_dbt-0.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

odd_dbt-0.1.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file odd_dbt-0.1.2.tar.gz.

File metadata

  • Download URL: odd_dbt-0.1.2.tar.gz
  • Upload date:
  • Size: 9.4 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

Hashes for odd_dbt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 51c3601b37dc6cdf8654c762469cca470512366629da5fa3e328cc61820fbd6a
MD5 d6a3230a47272eb64e3e9180aab264c8
BLAKE2b-256 316a4e48e1dadaf780c86d0af82a3310bbdd6659b3d3ad53f49622ecdc6aba15

See more details on using hashes here.

File details

Details for the file odd_dbt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: odd_dbt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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

Hashes for odd_dbt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2d2de791b628e7e1f6c481281bda6e0beb0f4479851b9f9cde418461add0d41
MD5 b55c6e9c2f5f59794080f0770b5bb906
BLAKE2b-256 911c3b11a1fd3d3f4a35ed62c974299c87ca43bab6b5afcc7aa1eb66f632b025

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page