Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADAP-894: Support test results as views #889

Merged
merged 20 commits into from
Oct 11, 2023

Conversation

mikealfare
Copy link
Contributor

resolves dbt-labs/dbt-core#6914
docs dbt-labs/docs.getdbt.com/#

Problem

This will support persisting tests results as views. See the attached issue for more information.

Solution

Users can use strategy="view" in the config block in their dbt tests to create the test results as a view. This allows the results to update along with underlying data, e.g. when the underlying data is in a dynamic table.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@mikealfare mikealfare self-assigned this Sep 21, 2023
@mikealfare mikealfare requested a review from a team as a code owner September 21, 2023 22:11
@cla-bot cla-bot bot added the cla:yes label Sep 21, 2023
@mikealfare mikealfare removed the request for review from Fleid September 26, 2023 17:58
@mikealfare mikealfare merged commit 04d01af into main Oct 11, 2023
28 checks passed
@mikealfare mikealfare deleted the feature/materialized-tests/adap-894 branch October 11, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-2070] [Feature] Materialized tests
2 participants