Databend Cloud setup
Some core functionality may be limited. If you're interested in contributing, check out the source code repository listed below.
- Maintained by: Databend Cloud
- Authors: Shanjie Han
- GitHub repo: databendcloud/dbt-databend
- PyPI package:
dbt-databend-cloud
- Slack channel:
- Supported dbt Core version: v1.0.0 and newer
- dbt Cloud support: Not Supported
- Minimum data platform version: n/a
Installing dbt-databend-cloud
Use pip
to install the adapter. Before 1.8, installing the adapter would automatically install dbt-core
and any additional dependencies. Beginning in 1.8, installing an adapter does not automatically install dbt-core
. This is because adapters and dbt Core versions have been decoupled from each other so we no longer want to overwrite existing dbt-core installations.
Use the following command for installation:
Configuring dbt-databend-cloud
For Databend Cloud-specific configuration, please refer to Databend Cloud configs.
Connecting to Databend Cloud with dbt-databend-cloud
User / Password Authentication
Configure your dbt profile for using Databend Cloud:
Databend Cloud connection profile
dbt-databend-cloud:
target: dev
outputs:
dev:
type: databend
host: databend-cloud-host
port: 443
schema: database_name
user: username
pass: password
Description of Profile Fields
Option | Description | Required? | Example |
---|---|---|---|
type | The specific adapter to use | Required | databend |
host | The host (hostname) to connect to | Required | yourorg.datafusecloud.com |
port | The port to use | Required | 443 |
schema | Specify the schema (database) to build models into | Required | default |
user | The username to use to connect to the host | Required | dbt_admin |
pass | The password to use for authenticating to the host | Required | awesome_password |
Database User Privileges
Your database user would be able to have some abilities to read or write, such as SELECT
, CREATE
, and so on.
You can find some help here with Databend Cloud privileges management.
Required Privilege |
---|
SELECT |
CREATE |
CREATE TEMPORARY TABLE |
CREATE VIEW |
INSERT |
DROP |
SHOW DATABASE |
SHOW VIEW |
SUPER |
Supported features
ok | Feature |
---|---|
✅ | Table materialization |
✅ | View materialization |
✅ | Incremental materialization |
❌ | Ephemeral materialization |
✅ | Seeds |
✅ | Sources |
✅ | Custom data tests |
✅ | Docs generate |
❌ | Snapshots |
✅ | Connection retry |
Note:
- Databend does not support
Ephemeral
andSnapShot
. You can find more detail here