Skip to content

Commit

Permalink
Update druid.py (apache#17079)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored and Emmanuel Bavoux committed Nov 14, 2021
1 parent 872cd8e commit 09c5057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/db_engine_specs/druid.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DruidEngineSpec(BaseEngineSpec):
"P1D": "TIME_FLOOR({col}, 'P1D')",
"P1W": "TIME_FLOOR({col}, 'P1W')",
"P1M": "TIME_FLOOR({col}, 'P1M')",
"P0.25Y": "TIME_FLOOR({col}, 'P0.25Y')",
"P0.25Y": "TIME_FLOOR({col}, 'P3M')",
"P1Y": "TIME_FLOOR({col}, 'P1Y')",
"P1W/1970-01-03T00:00:00Z": (
"TIME_SHIFT(TIME_FLOOR(TIME_SHIFT({col}, 'P1D', 1), 'P1W'), 'P1D', 5)"
Expand Down

0 comments on commit 09c5057

Please sign in to comment.