Skip to main content

limit

Limit the number of failures that will be returned by a test query. We recommend using this config when working with large datasets and storing failures in the database.

Configure a specific instance of a generic (schema) test:

models/<filename>.yml
version: 2

models:
- name: large_table
columns:
- name: very_unreliable_column
data_tests:
- accepted_values:
arguments: # available in v1.10.5 and higher. Older versions can set the <argument_name> as the top-level property.
values: ["a", "b", "c"]
config:
limit: 1000 # will only include the first 1000 failures
0