Complete the code to set the test severity to 'warn'.
severity: [1]The severity level warn marks the test as a warning instead of an error.
Complete the code to define a test with severity set to 'error'.
tests:
- unique:
column_name: id
severity: [1]Setting severity: error means the test failure will stop the run.
Fix the error in the test severity assignment.
tests:
- not_null:
column_name: email
severity: [1]The correct severity keyword is warn, not warning.
Fill both blanks to set a test severity to 'info' and disable failure.
tests:
- accepted_values:
column_name: status
values: ['active', 'inactive']
severity: [1]
fail_on_warn: [2]Setting severity: info marks the test as informational, and fail_on_warn: false prevents failure on warnings.
Fill all three blanks to define a test with severity 'warn', disable failure on warn, and add a custom message.
tests:
- unique:
column_name: user_id
severity: [1]
fail_on_warn: [2]
message: '[3]'The test is set to warn severity, failure on warn is disabled with false, and a custom message is added.
