-
Notifications
You must be signed in to change notification settings - Fork 975
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'current' into jerco/oss-expectations-updates
- Loading branch information
Showing
114 changed files
with
453 additions
and
1,120 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ Exposures make it possible to define and describe a downstream use of your dbt p | |
|
||
Exposures are defined in `.yml` files nested under an `exposures:` key. | ||
|
||
<VersionBlock firstVersion="1.4"> | ||
|
||
<File name='models/<filename>.yml'> | ||
|
||
```yaml | ||
|
@@ -42,58 +40,15 @@ exposures: | |
</File> | ||
</VersionBlock> | ||
<VersionBlock lastVersion="1.3"> | ||
<File name='models/<filename>.yml'> | ||
```yaml | ||
version: 2 | ||
|
||
exposures: | ||
|
||
- name: weekly_jaffle_report | ||
type: dashboard | ||
maturity: high | ||
url: https://bi.tool/dashboards/1 | ||
description: > | ||
Did someone say "exponential growth"? | ||
depends_on: | ||
- ref('fct_orders') | ||
- ref('dim_customers') | ||
- source('gsheets', 'goals') | ||
|
||
owner: | ||
name: Callum McData | ||
email: [email protected] | ||
``` | ||
</File> | ||
</VersionBlock> | ||
### Available properties | ||
_Required:_ | ||
- **name**: a unique exposure name written in [snake case](https://en.wikipedia.org/wiki/Snake_case) | ||
- **type**: one of `dashboard`, `notebook`, `analysis`, `ml`, `application` (used to organize in docs site) | ||
- **owner**: `name` or `email` required; additional properties allowed | ||
|
||
<VersionBlock firstVersion="1.4"> | ||
|
||
_Expected:_ | ||
- **depends_on**: list of refable nodes, including `ref`, `source`, and `metric` (While possible, it is highly unlikely you will ever need an `exposure` to depend on a `source` directly) | ||
|
||
</VersionBlock> | ||
|
||
<VersionBlock lastVersion="1.3"> | ||
|
||
_Expected:_ | ||
- **depends_on**: list of refable nodes, including `ref` and `source` (While possible, it is highly unlikely you will ever need an `exposure` to depend on a `source` directly) | ||
|
||
</VersionBlock> | ||
- **depends_on**: list of refable nodes, including `metric`, `ref`, and `source`. While possible, it is highly unlikely you will ever need an `exposure` to depend on a `source` directly. | ||
|
||
_Optional:_ | ||
- **label**: May contain spaces, capital letters, or special 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.