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

Models with introspective queries can not be unit tested #6652

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Dec 12, 2024

What are you changing in this pull request and why?

There's been multiple times where people have tried adding unit tests to models that use introspective queries on the given inputs (e.g. dbt-core#10759, dbt-core#11121).

It is a known limitation that this will not work unless something like dbt-core#8499 is implemented.

In the meantime, we should document this limitation.

Checklist


🚀 Deployment available! Here are the direct links to the updated files:

Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Dec 12, 2024 3:14pm

@dbeatty10 dbeatty10 marked this pull request as ready for review December 12, 2024 15:14
@dbeatty10 dbeatty10 requested a review from a team as a code owner December 12, 2024 15:14
@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Dec 12, 2024
@mirnawong1 mirnawong1 merged commit bc41a7e into current Dec 12, 2024
11 of 12 checks passed
@mirnawong1 mirnawong1 deleted the dbeatty10-patch-1 branch December 12, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants