Check template
Use a check template to write one SQL query that you can reuse in multiple Soda checks for data quality.
templates:
- name: template_alpha
description: Reusable SQL for writing checks.
author: Jean-Claude
metric: alpha
query: |
SELECT count(*) as alpha FROM ${table}checks for dim_account:
- $template_alpha:
parameters:
table: dim_account
fail: when > 0Define a check template
Optional check configurations
Supported
Configuration
Documentation
Example with check name
Example with alert configuration
Example with quotes
List of comparison symbols and phrases
Go further
Last updated
Was this helpful?
