Skip to content

Commit

Permalink
Update AdapterVersion log message (#3734)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

Updating the AdapterVersion log message in this section:


https://docs.getdbt.com/docs/dbt-versions/core#how-we-version-adapter-plugins

Resolves #3726 

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [ ] Needs review from product team
  • Loading branch information
nghi-ly authored Jul 13, 2023
2 parents e4466e1 + 71b1ff2 commit 8a7d1a7
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions website/docs/docs/dbt-versions/core-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,20 @@ When you use dbt, you use a combination of `dbt-core` and an adapter plugin spec

That means that patch version numbers will likely differ between `dbt-core` and the adapter plugin(s) you have installed. However, major and minor version numbers should always match.

For example, you may find you're using `dbt-core==1.2.3` with `dbt-snowflake==1.2.0`. It is critical that you're using the latest patch available for both core and the adapter (v1.2.x). Use the `dbt --version` command to see which versions you have installed:
For example, you may find you're using `dbt-core==1.6.0` with `dbt-snowflake==1.6.0`. It is critical that you're using the latest patch available for both core and the adapter. Use the `dbt --version` command to see which versions you have installed:
```
$ dbt --version
installed version: 1.2.3
latest version: 1.2.3
Up to date!
Core:
- installed: 1.6.0
- latest: 1.6.0 - Up to date!
Plugins:
- snowflake: 1.2.0 - Up to date!
- snowflake: 1.6.0 - Up to date!
```

You can see which version of the registered adapter that's being invoked in the [logs](/reference/global-configs/logs). Below is an example of the message in the `logs/dbt.log` file:
```
[0m13:13:48.572182 [info ] [MainThread]: Registered adapter: snowflake=1.6.0
```

It's likely that newer patches have become available since then, so it's always important to check and make sure you're up to date!

0 comments on commit 8a7d1a7

Please sign in to comment.