fix: "Week Staring Monday" time grain for BigQuery (#20091)

* Week Staring From Monday added for BQ

* lint fix
This commit is contained in:
Ramunas Balukonis 2022-05-26 12:31:32 +03:00 committed by GitHub
parent 95b28fc134
commit 694f75d376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ class BigQueryEngineSpec(BaseEngineSpec):
"PT1H": "{func}({col}, HOUR)",
"P1D": "{func}({col}, DAY)",
"P1W": "{func}({col}, WEEK)",
"1969-12-29T00:00:00Z/P1W": "{func}({col}, ISOWEEK)",
"P1M": "{func}({col}, MONTH)",
"P3M": "{func}({col}, QUARTER)",
"P1Y": "{func}({col}, YEAR)",