Skip to content

Commit 7ab994a

Browse files
committed
Block bad dates from SQL
1 parent f2f949c commit 7ab994a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/.sqlfluff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extended_capitalisation_policy = upper
5959
# Block 2022_06_09 (contains secondary pages)
6060
# Block 2022_07_01 (probably forgot to update month to June for 2022)
6161
# Block 2021_06_01 (probably forgot to update month to July for 2021)
62-
blocked_regex = (TABLESAMPLE|sample_data|2022_?05_?12|2022_?06_?09|2022_?07_?01|2021_?06_?01)
62+
blocked_regex = (TABLESAMPLE|sample_data|2025-?06-?12|2024-?05-?12|2022-?05-?12|2022-?06-?09|2022-?07-?01|2021-?06-?01)
6363

6464
[sqlfluff:rules:convention.count_rows]
6565
prefer_count_0 = True

0 commit comments

Comments
 (0)