You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2017/11/28 05:12:22 UTC
[incubator-superset] branch master updated: Fixed branching
condition with dimension spec (#3920)
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 6cbe0e6 Fixed branching condition with dimension spec (#3920)
6cbe0e6 is described below
commit 6cbe0e60966d77037e691a8e4de8a05e3a77edad
Author: Jeff Niu <je...@gmail.com>
AuthorDate: Mon Nov 27 21:12:20 2017 -0800
Fixed branching condition with dimension spec (#3920)
---
superset/connectors/druid/models.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py
index 90b4dc0..f5b3ff4 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -1018,7 +1018,7 @@ class DruidDatasource(Model, BaseDatasource):
del qry['dimensions']
qry['metric'] = list(qry['aggregations'].keys())[0]
client.topn(**qry)
- elif len(groupby) > 1 or having_filters or not order_desc:
+ else:
# If grouping on multiple fields or using a having filter
# we have to force a groupby query
if timeseries_limit and is_timeseries:
--
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].