-
Notifications
You must be signed in to change notification settings - Fork 10
How to test locally
shi yuhang edited this page Dec 14, 2023
·
2 revisions
Assume you want to verify the compatibility of dbt-tidb v1.6.4 and dbt-core 1.6.4. Here is the step-by-step tutorial:
cd dbt-tidb
python3 -m venv dbt-env
source dbt-env/bin/activate
Make sure you are in the correct version of code
git checkout release-1.6 (git checkout v1.6.4)
Install dbt-tidb
pip3 install .
pip3 install dbt-core==1.6.4
Test according to the https://docs.pingcap.com/tidbcloud/integrate-tidbcloud-with-dbt
When you use jaffle_shop
as an example, don't forget to use dbt-env
virtual environments