-
Notifications
You must be signed in to change notification settings - Fork 982
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from fishtown-analytics/next
Release 0.18.0
- Loading branch information
Showing
52 changed files
with
1,476 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
website/docs/docs/guides/migration-guide/upgrading-to-0-18-0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
title: "Upgrading to 0.18.0" | ||
|
||
--- | ||
|
||
### Resources | ||
|
||
- [Changelog](https://github.com/fishtown-analytics/dbt/blob/dev/marian-anderson/CHANGELOG.md) | ||
- [Discussion: Prerelease](https://discourse.getdbt.com/t/prerelease-v0-18-0-marian-anderson/1545) | ||
|
||
## Breaking changes | ||
|
||
Please be aware of the following changes in v0.18.0. While breaking, we do not expect these to affect the majority of projects. | ||
|
||
### Adapter macros | ||
|
||
- dbt only has access to adapter plugin macros from the currently-in-use adapter or one of its dependencies, rather than all installed adapters in the namespace. | ||
- `adapter_macro` is no longer a macro and will raise a deprecation warning. Use `adapter.dispatch` instead. | ||
|
||
### Data tests | ||
|
||
- Data tests are written as CTEs instead of subqueries. Adapter plugins for databases that don't support CTEs may need to override this behavior. | ||
|
||
### Python requirements | ||
- Upgraded `snowflake-connector-python` dependency to 2.2.10 and enabled the SSO token cache | ||
|
||
## New features | ||
|
||
For more details, see [new and changed documentation](#new-and-changed-documentation) below. | ||
|
||
:::info [β] Beta Features | ||
There are several pieces of net-new functionality in v0.18.0, with iterative improvements to come. If you encounter unexpected behavior, please post in Slack or open an issue. | ||
::: | ||
|
||
### Node selection | ||
- methods: `config`, `test_type`, `test_name`, `package`, [β] `state` | ||
- intersections | ||
- nth-parent/child | ||
- [β] version-controlled YAML selectors | ||
- [β] defer unselected node references to state defined by a previous run's artifacts | ||
|
||
### Adapter macros | ||
- `adapter.dispatch` replaces `adapter_macro`, with much greater flexibility | ||
- Schema tests are now defined via `dispatch`, such that non-core plugins | ||
can override schema test definitions | ||
|
||
### Docs | ||
- Include static assets (such as images) in auto-generated docs site | ||
- Improved resource search | ||
- Project-level overviews | ||
|
||
### Database-specific | ||
- Specify IAM profile when connecting to Redshift | ||
- Snowflake query tags at connection and model level | ||
- Impersonate a BigQuery service account when connecting via oauth | ||
- Adding policy tags to BigQuery columns | ||
- Configure time-to-live for BigQuery tables | ||
|
||
## New and changed documentation | ||
|
||
**Core** | ||
- [node selection syntax](node-selection/syntax) | ||
- [list (ls)](commands/list) | ||
- [deferring to previous run state](run#deferring-to-previous-run-state) | ||
- [adapter.dispatch](adapter#dispatch) | ||
- [`asset-paths` config](asset-paths) (also updated [dbt_project.yml](dbt_project.yml.md) and [description](description)) | ||
- [flag for colorized logs](run#enable-or-disable-colorized-logs) | ||
- [`full_refresh` config](full_refresh) | ||
|
||
**Docs** | ||
- [project-level overviews](documentation#custom-project-level-overviews) | ||
|
||
**Redshift** | ||
- [`iam_profile`](redshift-profile#specifying-an-iam-profile) | ||
|
||
**Snowflake** | ||
- `query_tag` in [profile](snowflake-profile), [model config](snowflake-configs#query-tags) | ||
|
||
**BigQuery** | ||
- [`impersonate_service_account`](https://docs.getdbt.com/reference/warehouse-profiles/bigquery-profile#service-account-impersonation) | ||
- [`policy_tags`](bigquery-configs#policy-tags) | ||
- [`hours_to_expiration`](bigquery-configs#controlling-table-expiration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: What is a beta release? | ||
--- | ||
This is a chance to try out brand-new functionality. You get to start planning for use cases that the next minor version will unlock. We get to hear from you about unexpected behavior and nasty bugs, so that the release candidate has more polish and fewer surprises. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Why would I want to impersonate a service account? | ||
--- | ||
|
||
You may want your models to be built using a dedicated service account that has | ||
elevated access to read or write data to the specified project or dataset. | ||
Typically, this requires you to create a service account key for running under | ||
development or on your CI server. By specifing the email address of the service | ||
account you want to build models as, you can use [Application Default Credentials](https://cloud.google.com/sdk/gcloud/reference/auth/application-default) or the | ||
service's configured service account (when running in GCP) to assume the identity | ||
of the service account with elevated permissions. | ||
|
||
This allows you to reap the advantages of using federated identity for developers | ||
(via ADC) without needing to grant individual access to read and write data | ||
directly, and without needing to create separate service account and keys for | ||
each user. It also allows you to completely eliminate the need for service | ||
account keys in CI as long as your CI is running on GCP (Cloud Build, Jenkins, | ||
GitLab/Github Runners, etc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Why are there "prerelease" docs? | ||
--- | ||
We want to give beta testers the information they need to try out new features, without adding confusion to the current docs site. This is served from a long-lived `next` branch of the docs repo. Feedback on prerelease docs is also welcome—use the "Edit this page" feature at the bottom. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.