-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unit_testing_feature_branch' into support-complex-types…
…-unit-testing
- Loading branch information
Showing
14 changed files
with
570 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Fixes | ||
body: For packages installed with tarball method, fetch metadata to resolve nested dependencies | ||
time: 2023-10-13T13:09:43.188308-04:00 | ||
custom: | ||
Author: adamlopez | ||
Issue: "8621" |
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,6 @@ | ||
kind: Fixes | ||
body: Use seed file from disk for unit testing if rows not specified in YAML config | ||
time: 2023-11-13T15:45:35.008565Z | ||
custom: | ||
Author: aranke | ||
Issue: "8652" |
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,6 @@ | ||
kind: Under the Hood | ||
body: Cache dbt plugin modules to improve integration test performance | ||
time: 2023-11-07T19:15:46.170151-05:00 | ||
custom: | ||
Author: peterallenwebb | ||
Issue: "9029" |
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 |
---|---|---|
@@ -1 +1,35 @@ | ||
# Contracts README | ||
|
||
|
||
## Artifacts | ||
|
||
### Generating JSON schemas | ||
A helper script, `sripts/collect-artifact-schema.py` is available to generate json schemas corresponding to versioned artifacts (`ArtifactMixin`s). | ||
|
||
This script is necessary to run when a new artifact schema version is created, or when changes are made to existing artifact versions, and writes json schema to `schema/dbt/<artifact>/v<version>.json`. | ||
|
||
Schemas in `schema/dbt` power the rendering in https://schemas.getdbt.com/ via https://github.com/dbt-labs/schemas.getdbt.com/ | ||
|
||
#### Example Usage | ||
|
||
Available arguments: | ||
```sh | ||
❯ scripts/collect-artifact-schema.py --help | ||
usage: Collect and write dbt arfifact schema [-h] [--path PATH] [--artifact {manifest,sources,run-results,catalog}] | ||
|
||
options: | ||
-h, --help show this help message and exit | ||
--path PATH The dir to write artifact schema | ||
--artifact {manifest,sources,run-results,catalog} | ||
The name of the artifact to update | ||
``` | ||
|
||
Generate latest version of schemas of all artifacts to `schema/dbt/<artifact>/v<version>.json` | ||
```sh | ||
> sripts/collect-artifact-schema.py --path schemas | ||
``` | ||
|
||
Generate latest version of schemas of manifest to `schema/dbt/manifest/v<version>.json` | ||
```sh | ||
> sripts/collect-artifact-schema.py --path schemas --artifact manifest | ||
``` |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
black==23.3.0 | ||
bumpversion | ||
ddtrace | ||
ddtrace==2.1.7 | ||
docutils | ||
flake8 | ||
flaky | ||
|
Oops, something went wrong.