Skip to content

Commit

Permalink
fix: "Week Staring Monday" time grain for BigQuery (#20091)
Browse files Browse the repository at this point in the history
* Week Staring From Monday added for BQ

* lint fix
  • Loading branch information
ramunas-omnisend committed May 26, 2022
1 parent 95b28fc commit 694f75d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/db_engine_specs/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit 694f75d

Please sign in to comment.