This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push: new 5278b53 [pivot] add support for in Pivot on Druid (#3230) 5278b53 is described below commit 5278b53218187992a089ed734ce90daf9551d44c Author: Maxime Beauchemin <maximebeauche...@gmail.com> AuthorDate: Thu Aug 3 00:04:16 2017 -0700 [pivot] add support for in Pivot on Druid (#3230) --- superset/connectors/druid/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py index 6f88dd1..53aeb5a 100644 --- a/superset/connectors/druid/models.py +++ b/superset/connectors/druid/models.py @@ -817,6 +817,11 @@ class DruidDatasource(Model, BaseDatasource): """ # TODO refactor into using a TBD Query object client = client or self.cluster.get_pydruid_client() + + if DTTM_ALIAS in groupby: + groupby.remove(DTTM_ALIAS) + is_timeseries = True + if not is_timeseries: granularity = 'all' inner_from_dttm = inner_from_dttm or from_dttm -- To stop receiving notification emails like this one, please contact ['"comm...@superset.apache.org" <comm...@superset.apache.org>'].