Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update

update

update

update

update

lint okay?

update

update

why does it not ignore

update

update

identify

identify

check

was bool a prob

cheeck?

check

update

Revert

update

udpate

check

update
  • Loading branch information
amishas157 committed Oct 4, 2024
1 parent faa9ce9 commit 22eb328
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/generic/incremental_accepted_values.sql
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{% test incremental_accepted_values(model, column_name, date_column_name, greater_than_equal_to, less_than_equal_to, condition, values=[], quote=false) %}
{% test incremental_accepted_values(model, column_name, date_column_name, greater_than_equal_to, less_than_equal_to, condition, quote, values=[]) %}

{{ config(severity = 'error') }}
{% set condition = condition | default('') %}
{% set date_column_name = date_column_name | default('closed_at') %}
{% set greater_than_equal_to = greater_than_equal_to | default('2 day') %}
{% set less_than_equal_to = less_than_equal_to | default('') %}
{% if quote %}
{% set values = values | map(attribute='string') | join(', ') %}
{% else %}
{% set values = values | join(', ') %}
{% endif %}
{% set quote = quote | default(false) %}
{% set values =
(values | map('string') | map('trim') | join("', '") | prepend("'") | append("'") if quote else values | join(', '))
%}

with all_values as (

Expand Down

0 comments on commit 22eb328

Please sign in to comment.