The Databend plugin for dbt (data build tool)
Project description
dbt-databend
The dbt-databend
package contains all of the code enabling dbt to work with Databend.
Getting started
- Install dbt
- Read the introduction and viewpoint
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dbt_databend-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4bd9c535d09405cfe65556ce7117463fb1fe9c06e175f212c2a6191f9459ac |
|
MD5 | 277351c35d05489d51ca8fdf44048a0c |
|
BLAKE2b-256 | 4f38dfd51f5097866bb5c40cd1535aa264f0726beaacf1a817d3806e145e48e0 |