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
  • Loading branch information
amishas157 committed Oct 4, 2024
1 parent faa9ce9 commit 016fff9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/generic/incremental_accepted_values.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- sqlfluff: skip
{% test incremental_accepted_values(model, column_name, date_column_name, greater_than_equal_to, less_than_equal_to, condition, values=[], quote=false) %}

{{ config(severity = 'error') }}
Expand All @@ -6,11 +7,12 @@
{% 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(', ') %}
{% set values = "'" + values | join("', '") + "'" %}
{% else %}
{% set values = values | join(', ') %}
{% endif %}


with all_values as (

select
Expand Down

0 comments on commit 016fff9

Please sign in to comment.