Skip to content

Commit

Permalink
Introduce comparison_column_name argument
Browse files Browse the repository at this point in the history
  • Loading branch information
clrcrl committed Apr 5, 2021
1 parent bea41e0 commit 3c502f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lower_limit,upper_limit
2,4
5,6
7,9
10,15
16,20
9 changes: 9 additions & 0 deletions integration_tests/data/schema_tests/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ seeds:
- dbt_utils.sequential_values:
interval: 1
datepart: 'hour'

- name: data_test_sequential_values_across_cols
columns:
- name: lower_limit
tests:
- dbt_utils.sequential_values:
comparison_column_name: upper_limit
interval: 1

0 comments on commit 3c502f9

Please sign in to comment.