From 11d52cb4e15af95a5e562b82d0646416f0140c07 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Tue, 12 Oct 2021 15:14:40 -0700 Subject: [PATCH] Update druid.py (#17079) --- superset/db_engine_specs/druid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/db_engine_specs/druid.py b/superset/db_engine_specs/druid.py index a0765d4e7b878..76de48083d115 100644 --- a/superset/db_engine_specs/druid.py +++ b/superset/db_engine_specs/druid.py @@ -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)"