Skip to content

Commit 1c86164

Browse files
committed
docs: update dbt package version to 0.22.0 and add upgrade guide
- Update package version from 0.20.1 to 0.22.0 in quickstart guide - Add new upgrade guide page in dbt package tab - Add upgrade guide to navigation under Elementary dbt package group
1 parent b273b44 commit 1c86164

3 files changed

Lines changed: 35 additions & 1 deletion

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Upgrade Elementary dbt package"
3+
sidebarTitle: "Upgrade package"
4+
---
5+
6+
On new releases, you will need to upgrade the Elementary dbt package.
7+
8+
## Upgrade Elementary dbt package
9+
10+
1. On your `packages.yml` file, change the version to the latest:
11+
12+
```yml packages.yml
13+
packages:
14+
- package: elementary-data/elementary
15+
version: < latest version >
16+
```
17+
18+
2. Run the command:
19+
20+
```shell
21+
dbt deps
22+
```
23+
24+
3. When there's a change in the structure of the Elementary tables, the minor version is raised. If you're updating a minor version (for example 0.21.X -> 0.22.X), run this command to rebuild the Elementary tables:
25+
26+
```shell
27+
dbt run --select elementary
28+
```
29+
30+
<Info>
31+
**Note:** For CLI upgrades, refer to the [Elementary OSS upgrade guide](/oss/release-notes/upgrading-elementary#upgrade-elementary-cli).
32+
</Info>
33+

docs/docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@
340340
"pages": [
341341
"data-tests/dbt/dbt-package",
342342
"data-tests/dbt/quickstart-package",
343+
"data-tests/dbt/upgrade-package",
343344
"data-tests/dbt/dbt-artifacts",
344345
{
345346
"group": "on-run-end hooks",

docs/snippets/quickstart-package-install.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Some packages we recommend you check out: [dbt_utils](https://github.com/dbt-lab
4343
```yml packages.yml
4444
packages:
4545
- package: elementary-data/elementary
46-
version: 0.20.1
46+
version: 0.22.0
4747
## Docs: https://docs.elementary-data.com
4848
```
4949
</Step>

0 commit comments

Comments
 (0)