Merged PR 4753: Add sqlfluff check

# Description

Adds another check to CI that validates that compiled SQL is valid.

Related work items: #28628
This commit is contained in:
Pablo Martín 2025-03-21 10:10:44 +00:00
commit 36e6a35d12
5 changed files with 65 additions and 1 deletions

View file

@ -27,7 +27,7 @@ with
),
date_ranges as (
select
{{ yesterday }} as current_date,
{{ yesterday }} as current_date_col,
date_trunc('month', {{ yesterday }}) as current_month_start,
date_trunc('week', {{ yesterday }}) as current_week_start, -- Start of the current week
date_trunc('week', {{ yesterday }} - interval '1 year') as py_week_start, -- Start of the same week last year