From dc3399170c50657a876250a249688b28a680cc76 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Fri, 4 Oct 2024 14:23:01 -0500 Subject: [PATCH] update update update update update update lint okay? update update --- .sqlfluffignore | 1 + tests/generic/incremental_accepted_values.sql | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.sqlfluffignore b/.sqlfluffignore index 4296d45..4d46858 100644 --- a/.sqlfluffignore +++ b/.sqlfluffignore @@ -4,3 +4,4 @@ snapshots/ env/ dbt_packages/ target/ +tests/generic/incremental_accepted_values.sql diff --git a/tests/generic/incremental_accepted_values.sql b/tests/generic/incremental_accepted_values.sql index c356f1c..0e60b4e 100644 --- a/tests/generic/incremental_accepted_values.sql +++ b/tests/generic/incremental_accepted_values.sql @@ -6,11 +6,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