Skip to main content

The Databend plugin for dbt (data build tool)

Project description

dbt logo

build

dbt-databend

The dbt-databend package contains all of the code enabling dbt to work with Databend.

Getting started

Installation

Use your favorite Python package manager to install the app from PyPI, e.g.

python -m pip install dbt-databend

Supported features

Databend does not support a ALTER query for change a tables schema. So some features are not available.

  • Table materialization
  • View materialization
  • Incremental materialization
  • Seeds
  • Sources
  • Docs generate
  • Tests
  • Snapshots
  • Ephemeral materialization

Database & schema

The dbt model database.schema.table is not compatible with Databend because Databend does not support a schema. So we use a simple model schema.table, where schema is the Databend's database.

Configuration

Option Description Required?
cluster_by For detailed information about the CLUSTER BY clause, see SET CLUSTER KEY. Optional (default: empty)

Profile Configuration

Databend targets should be set up using the following configuration in your profiles.yml file. The dbt-databend package usage mysql-procotol for connect to database.

your_profile_name:
  target: dev
  outputs:
    dev:
      type: databend
      host: [hostname]
      port: [port]  # default 3307
      user: [username]
      password: [password]
      schema: [database name]

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-databend-1.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

dbt_databend-1.1.0-py2.py3-none-any.whl (11.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dbt-databend-1.1.0.tar.gz.

File metadata

  • Download URL: dbt-databend-1.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for dbt-databend-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8df2dfcf185ba6b43c9fac1186cbe2513075c872ab72a779c0428d1bf58a5f9b
MD5 f1250849fc1af666c4f30c35c671cd0f
BLAKE2b-256 746a2913456b571c100fe970de704e4d9f8e42e730dfd63aab70aa94888e9721

See more details on using hashes here.

File details

Details for the file dbt_databend-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dbt_databend-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e4bd9c535d09405cfe65556ce7117463fb1fe9c06e175f212c2a6191f9459ac
MD5 277351c35d05489d51ca8fdf44048a0c
BLAKE2b-256 4f38dfd51f5097866bb5c40cd1535aa264f0726beaacf1a817d3806e145e48e0

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