villebro commented on a change in pull request #10160:
URL:
https://github.com/apache/incubator-superset/pull/10160#discussion_r445394082
##########
File path: superset/db_engine_specs/druid.py
##########
@@ -41,6 +42,10 @@ class DruidEngineSpec(BaseEngineSpec): # pylint:
disable=abstract-method
None: "{col}",
"PT1S": "FLOOR({col} TO SECOND)",
"PT1M": "FLOOR({col} TO MINUTE)",
+ "PT5M": "TIME_FLOOR({col}, 'PT5M')",
+ "PT10M": "TIME_FLOOR({col}, 'PT10M')",
+ "PT15M": "TIME_FLOOR({col}, 'PT15M')",
+ "PT0.5H": "TIME_FLOOR({col}, 'PT30M')",
Review comment:
Added the intermediate grains between 1M and 1H.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]