Bird
0
0

You set store_failures = true in your test config, but after running tests, no failure tables appear. What is the most likely cause?

medium📝 Debug Q14 of 15
dbt - Advanced Testing
You set store_failures = true in your test config, but after running tests, no failure tables appear. What is the most likely cause?
AThe test did not find any failing rows, so no failure table was created.
BYou must manually create failure tables before running tests.
CThe <code>store_failures</code> setting only works for schema tests, not data tests.
DFailure tables are stored in a different schema and need to be queried there.
Step-by-Step Solution
Solution:
  1. Step 1: Understand when failure tables are created

    Failure tables are only created if the test finds failing rows.
  2. Step 2: Check if test found failures

    If no failures, no failure table is generated.
  3. Final Answer:

    The test did not find any failing rows, so no failure table was created. -> Option A
  4. Quick Check:

    No failures means no failure table [OK]
Quick Trick: No failure rows means no failure table created [OK]
Common Mistakes:
MISTAKES
  • Thinking failure tables must be pre-created
  • Assuming store_failures only works for some test types
  • Looking in wrong schema without verifying failures

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes