Starrocks setup
Overview of dbt-starrocks
- Maintained by: Starrocks
- Authors: Astralidea
- GitHub repo: StarRocks/dbt-starrocks
- PyPI package:
dbt-starrocks - Slack channel: #db-starrocks
- Supported dbt Core version: v1.6.2 and newer
- dbt support: Not Supported
- Minimum data platform version: Starrocks 2.5
Installing dbt-starrocks
pip is the easiest way to install the adapter:
python -m pip install dbt-starrocks
Installing dbt-starrocks will also install dbt-core and any other dependencies.
Configuring dbt-starrocks
For Starrocks-specifc configuration please refer to Starrocks Configuration
For further info, refer to the GitHub repository: StarRocks/dbt-starrocks
Authentication Methods
User / Password Authentication
Starrocks can be configured using basic user/password authentication as shown below.
~/.dbt/profiles.yml
my-starrocks-db:
target: dev
outputs:
dev:
type: starrocks
host: localhost
port: 9030
schema: analytics
# User/password auth
username: your_starrocks_username
password: your_starrocks_password
Description of Profile Fields
| Loading table... |
Supported features
| Loading table... |
Notice
- When StarRocks Version < 2.5,
Create table ascan only set engine='OLAP' and table_type='DUPLICATE' - When StarRocks Version >= 2.5,
Create table assupports table_type='PRIMARY' - When StarRocks Version < 3.1 distributed_by is required
It is recommended to use the latest starrocks version and dbt-starrocks version for the best experience.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0