From 46907dc281a6bc933ac9fafabb13a2060586e229 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:11:46 -0700 Subject: [PATCH] Update druid.py --- 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)"