Skip to content

Commit 9e7425c

Browse files
hlcianfagnaamotl
authored andcommitted
dbt: Improve section here and there
1 parent 26db150 commit 9e7425c

File tree

2 files changed

+40
-11
lines changed

2 files changed

+40
-11
lines changed

docs/integrate/dbt/index.md

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,32 @@
1313
```{div} .clearfix
1414
```
1515

16-
## About
16+
:::::{grid} 2
17+
:margin: 0
18+
:padding: 0
1719

20+
::::{grid-item}
21+
:columns: 7
22+
23+
:::{rubric} About
24+
:::
1825
[dbt] is a tool for transforming data in data warehouses using Python and SQL.
1926

2027
It is an SQL‑first transformation workflow platform that lets teams quickly and
2128
collaboratively deploy analytics code following software engineering best practices
2229
such as modularity, portability, CI/CD, and documentation.
30+
::::
2331

24-
::::{dropdown} **Details**
32+
::::{grid-item}
33+
:columns: 5
34+
![](https://www.getdbt.com/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fwl0ndo6t%2Fmain%2Fcd8cba01b3f756a3a7ed194e6e2d6a4072fac194-1220x1200.png%3Ffit%3Dmax%26auto%3Dformat&w=640&q=75){h=120px}
35+
![](https://www.getdbt.com/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fwl0ndo6t%2Fmain%2F58b87e47c2aed57fde9ccd49c927c3dff5b57d3c-1466x1130.png%3Ffit%3Dmax%26auto%3Dformat&w=640&q=75){h=120px}
36+
::::
37+
38+
:::::
39+
40+
:::{rubric} Introduction
41+
:::
2542

2643
> dbt enables data analysts and engineers to transform their data using the same
2744
> practices that software engineers use to build applications.
@@ -34,11 +51,7 @@ dbt projects run, for example with {ref}`debezium` or with {ref}`airflow`.
3451
Afterwards, data analysts can run their dbt projects against this data to produce models
3552
(tables and views) that can be used with a number of [BI tools](#bi-tools).
3653

37-
![](https://www.getdbt.com/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fwl0ndo6t%2Fmain%2F6e98931b83c4b8bbe45751dced66bc80ea4ec9ac-1999x992.png%3Ffit%3Dmax%26auto%3Dformat&w=640&q=75){h=120px}
38-
![](https://www.getdbt.com/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fwl0ndo6t%2Fmain%2Fcd8cba01b3f756a3a7ed194e6e2d6a4072fac194-1220x1200.png%3Ffit%3Dmax%26auto%3Dformat&w=640&q=75){h=120px}
39-
![](https://www.getdbt.com/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fwl0ndo6t%2Fmain%2F58b87e47c2aed57fde9ccd49c927c3dff5b57d3c-1466x1130.png%3Ffit%3Dmax%26auto%3Dformat&w=640&q=75){h=120px}
40-
41-
:::{rubric} dbt's Features
54+
:::{rubric} Features
4255
:::
4356
The data abstraction layer provided by [dbt-core] allows the decoupling of
4457
the models on which reports and dashboards rely from the source data. When
@@ -53,13 +66,12 @@ Some of the things that dbt can do include:
5366
* Run tests on data, to confirm assumptions remain valid, and to validate
5467
any changes made to the models' logic.
5568

56-
:::{rubric} CrateDB's Benefits
69+
:::{rubric} dbt and CrateDB
5770
:::
5871
Due to its unique capabilities, CrateDB is an excellent warehouse choice for
5972
data transformation projects. It offers automatic indexing, fast aggregations,
6073
easy partitioning, and the ability to scale horizontally.
6174

62-
::::
6375

6476
:::{dropdown} **Managed dbt**
6577
```{div}
@@ -120,7 +132,8 @@ cratedb_analytics:
120132
121133
## Learn
122134
123-
Learn how to use CrateDB with dbt by exploring a few examples.
135+
Learn how to use CrateDB with dbt by exploring a full tutorial and
136+
a few other examples.
124137
125138
:::{rubric} Tutorials
126139
:::
@@ -193,6 +206,20 @@ and then publish your project to a GitHub repository.
193206

194207
::::
195208

209+
## Notes
210+
211+
Please also refer to [CrateDB setup | dbt Developer Hub](https://docs.getdbt.com/docs/core/connect-data-platform/cratedb-setup).
212+
213+
These dbt features have been tested successfully:
214+
215+
* models with [view, table, and ephemeral materializations](https://docs.getdbt.com/docs/build/materializations)
216+
* [dbt source freshness](https://docs.getdbt.com/docs/deploy/source-freshness)
217+
* [dbt test](https://docs.getdbt.com/docs/build/tests)
218+
* [dbt seed](https://docs.getdbt.com/docs/build/seeds)
219+
* [Incremental materializations](https://docs.getdbt.com/docs/build/incremental-models) (with `incremental_strategy='delete+insert'` and without involving [OBJECT](https://crate.io/docs/crate/reference/en/5.4/general/ddl/data-types.html#objects) columns)
220+
221+
We hope you find this useful. CrateDB is continuously adding new features and we will be very happy to hear about your experience using CrateDB with dbt.
222+
196223

197224
[dbt]: https://www.getdbt.com/
198225
[dbt-core]: https://github.com/dbt-labs/dbt-core

docs/integrate/dbt/tutorial.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
:::{include} /_include/links.md
55
:::
66

7-
_Setup instructions and guidelines for transforming data using dbt and CrateDB._
7+
:::{div} sd-text-muted
8+
Setup instructions and guidelines for transforming data using dbt and CrateDB.
9+
:::
810

911
:::{div}
1012
For running the following steps, you will need connectivity to a CrateDB

0 commit comments

Comments
 (0)