dbt

dbt from dbt-labs

The dbt transformer is a plugin for running SQL-based transformations on data stored in your warehouse.

Getting Started

Prerequisites

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration

  1. Add the dbt transformer to your project using
    meltano add
    :
  2. meltano add transformer dbt
  3. Configure the dbt settings using
    meltano config
    :
  4. meltano config dbt set --interactive

Next steps

If you run into any issues, learn how to get help.

Capabilities

This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!

Settings

Settings for dbt itself can be configured through dbt_project.yml as usual, which can be found at transform/dbt_project.yml in your Meltano project.

The dbt settings that are known to Meltano are documented below. To quickly find the setting you're looking for, click on any setting name from the list:

You can override these settings or specify additional ones in your meltano.yml by adding the settings key.

Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.

Project Directory (project_dir)

  • Environment variable: DBT_PROJECT_DIR
  • Default Value: $MELTANO_PROJECT_ROOT/transform
[No description provided.]

Profiles Directory (profiles_dir)

  • Environment variable: DBT_PROFILES_DIR
  • Default Value: $MELTANO_PROJECT_ROOT/transform/profile
[No description provided.]

Target (target)

  • Environment variable: DBT_TARGET
  • Default Value: $MELTANO_LOAD__DIALECT
[No description provided.]

Source Schema (source_schema)

  • Environment variable: DBT_SOURCE_SCHEMA
  • Default Value: $MELTANO_LOAD__TARGET_SCHEMA
[No description provided.]

Target Schema (target_schema)

  • Environment variable: DBT_TARGET_SCHEMA
  • Default Value: analytics
[No description provided.]

Models (models)

  • Environment variable: DBT_MODELS
  • Default Value: $MELTANO_TRANSFORM__PACKAGE_NAME $MELTANO_EXTRACTOR_NAMESPACE my_meltano_project
[No description provided.]

Something missing?

This page is generated from a YAML file that you can contribute changes to.

Edit it on GitHub!

Looking for help?

If you're having trouble getting the dbt transformer to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the
#plugins-general
channel.

Install

meltano add transformer dbt

Maintenance Status

  • Maintenance Status
  • Stars
  • Forks
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • dbt Labs

Meltano Stats

  • Total Executions (Last 3 Months)
  • Projects (Last 3 Months)

Keywords