Skip to main content

The Materialize adapter plugin for dbt (data build tool)

Project description

dbt-materialize

dbt adapter for Materialize.

Note: this plugin is a work in progress, and not yet suitable for production.

Installation

This package can be installed via pip:

pip install dbt-materialize

or locally from the Materialize Github repository:

git clone https://github.com/MaterializeInc/materialize
pip install materialize/dbt-materialize

Configuring your profile

Materialize is based on the Postgres database protocols, so use the dbt postgres settings in your connection profile, with the following alterations:

  • type: materialize
  • user: materialize

Complete sample profiles can be found in sample_profiles.yml.

Supported Features

Materializations

Type Supported? Details
view YES Creates a view.
materializedview YES Creates a materialized view.
table YES Creates a materialized view. (Actual table support pending #5266)
ephemeral YES Executes queries using CTEs.
incremental NO Use the materializedview materialization instead! dbt's incremental models are valuable because they only spend your time and money transforming your new data as it arrives. Luckily, this is exactly what Materialize's materialized views were built to do! Better yet, our materialized views will always return up-to-date results without manual or configured refreshes. For more information, check out our documentation.

Seeds

dbt seed will create a static materialized view from a CSV file. You will not be able to add to or update this view after it has been created.

Hooks

Not tested.

Custom Schemas

Not tested.

Sources

Not tested.

Testing and Documentation

dbt docs and dbt test commands are supported.

Snapshots

Not supported, will likely not be supported in the near term.

Contributors

A huge thank you to Josh Wills, who originally created this adapter.

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

dbt-materialize-0.18.1.post3.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

dbt_materialize-0.18.1.post3-py2-none-any.whl (19.8 kB view details)

Uploaded Python 2

File details

Details for the file dbt-materialize-0.18.1.post3.tar.gz.

File metadata

  • Download URL: dbt-materialize-0.18.1.post3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.8

File hashes

Hashes for dbt-materialize-0.18.1.post3.tar.gz
Algorithm Hash digest
SHA256 16c6f4d11af416904c8e8a68cb9b5d2255d3a762a166d680a571c6c530927105
MD5 7955e5752b854e673d9504b3c6a2e15d
BLAKE2b-256 51e1f0b98c4e3cad452983d8e4f7f35f4ff0f81a415220c16f85a39f4f32fa9c

See more details on using hashes here.

File details

Details for the file dbt_materialize-0.18.1.post3-py2-none-any.whl.

File metadata

  • Download URL: dbt_materialize-0.18.1.post3-py2-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.8

File hashes

Hashes for dbt_materialize-0.18.1.post3-py2-none-any.whl
Algorithm Hash digest
SHA256 0c68f3e53b5fb8ff2943360b504b698c5721000b53ba1ac56cedfce49aba0432
MD5 1d6e9e22c7f6cfd7f2c52a88eb25981f
BLAKE2b-256 9b1991199d22abb9b1a5c5df2fe66bd92e0dd19265c7dbf545f2e58429ffbae0

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