You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tidb-cloud-lake/guides/load-with-dbt.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ summary: dbt is a transformation workflow that helps you get more work done whil
7
7
8
8
[dbt](https://www.getdbt.com/) is a transformation workflow that helps you get more work done while producing higher quality results. You can use dbt to modularize and centralize your analytics code, while also providing your data team with guardrails typically found in software engineering workflows. Collaborate on data models, version them, and test and document your queries before safely deploying them to production, with monitoring and visibility.
9
9
10
-
[dbt-databend-cloud](https://github.com/databendcloud/dbt-databend) is a plugin developed by {{{ .lake }}} with the primary goal of enabling smooth integration between dbt and {{{ .lake }}}. By utilizing this plugin, you can seamlessly perform data modeling, transformation, and cleansing tasks using dbt and conveniently load the output into {{{ .lake }}}. The table below illustrates the level of support that the dbt-databend-cloud plugin offers for commonly used features in dbt:
10
+
[tidbcloudlake-dbt](https://github.com/tidbcloud/lake-dbt) is a plugin developed by {{{ .lake }}} with the primary goal of enabling smooth integration between dbt and {{{ .lake }}}. By utilizing this plugin, you can seamlessly perform data modeling, transformation, and cleansing tasks using dbt and conveniently load the output into {{{ .lake }}}. The table below illustrates the level of support that the tidbcloudlake-dbt plugin offers for commonly used features in dbt:
11
11
12
12
| Feature | Supported ? |
13
13
|----------------------------- |----------- |
@@ -19,36 +19,38 @@ summary: dbt is a transformation workflow that helps you get more work done whil
19
19
| Sources | Yes |
20
20
| Custom Data Tests | Yes |
21
21
| Docs Generate | Yes |
22
-
| Snapshots |No |
22
+
| Snapshots |Yes|
23
23
| Connection Retry | Yes |
24
24
25
-
## Installing dbt-databend-cloud
25
+
## Installing tidbcloudlake-dbt
26
26
27
-
Installing the dbt-databend-cloud plugin has been streamlined for your convenience, as it now includes dbt as a required dependency. To effortlessly set up both dbt and the dbt-databend-cloud plugin, run the following command:
27
+
Installing the tidbcloudlake-dbt plugin has been streamlined for your convenience, as it now includes dbt as a required dependency. To effortlessly set up both dbt and the tidbcloudlake-dbt plugin, run the following command:
28
28
29
29
```shell
30
-
pip3 install dbt-databend-cloud
30
+
pip3 install tidbcloudlake-dbt
31
31
```
32
32
33
33
However, if you prefer to install dbt separately, you can refer to the official dbt installation guide for detailed instructions.
34
34
35
35
## Tutorial: Run dbt Project jaffle_shop
36
36
37
-
If you're new to dbt, {{{ .lake }}} recommends completing the official dbt tutorial available at <https://github.com/dbt-labs/jaffle_shop>. Before you start, follow [Installing dbt-databend-cloud](#installing-dbt-databend-cloud) to install dbt and dbt-databend-cloud.
37
+
If you're new to dbt, {{{ .lake }}} recommends completing the official dbt tutorial available at <https://github.com/dbt-labs/jaffle_shop>. Before you start, follow [Installing tidbcloudlake-dbt](#installing-tidbcloudlake-dbt) to install dbt and tidbcloudlake-dbt.
38
38
39
39
This tutorial provides a sample dbt project called "jaffle_shop," offering hands-on experience with the dbt tool. By configuring the default global profile (~/.dbt/profiles.yml) with the necessary information to connect to your {{{ .lake }}} instance, the project will generate tables and views defined in the dbt models directly in your {{{ .lake }}} database. Here's an example of the file profiles.yml that connects to a {{{ .lake }}} instance:
If you're using {{{ .lake }}}, you can refer to this [Wiki page](https://github.com/databendcloud/dbt-databend/wiki/How-to-use-dbt-with-Databend-Cloud) for step-by-step instructions on how to run the jaffle_shop dbt project.
56
+
For more information about configuring and using the adapter, see the [lake-dbt repository](https://github.com/tidbcloud/lake-dbt).
0 commit comments