Skip to main content

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]

Metadata

Release files for dbt-databend 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbt-databend 1.1.0
File Size Uploaded Provenance Actions
dbt-databend-1.1.0.tar.gz 11.5 kB Without provenance Details for dbt-databend-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbt-databend 1.1.0
File Interpreter ABI Platform Actions
dbt_databend-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for dbt_databend-1.1.0-py2.py3-none-any.whl

Total release size: 23.0 kB

Release files / dbt-databend-1.1.0.tar.gz

Download URL dbt-databend-1.1.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8df2dfcf185ba6b43c9fac1186cbe2513075c872ab72a779c0428d1bf58a5f9b
BLAKE2b-256 checksum
How to use checksums
746a2913456b571c100fe970de704e4d9f8e42e730dfd63aab70aa94888e9721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.9

Release files / dbt_databend-1.1.0-py2.py3-none-any.whl

Download URL dbt_databend-1.1.0-py2.py3-none-any.whl
Size 11.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7e4bd9c535d09405cfe65556ce7117463fb1fe9c06e175f212c2a6191f9459ac
BLAKE2b-256 checksum
How to use checksums
4f38dfd51f5097866bb5c40cd1535aa264f0726beaacf1a817d3806e145e48e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.9

Security for dbt-databend 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page