This is an automated email from the ASF dual-hosted git repository.
villebro 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 6908100 fix(legacy-druid): undefined filter key (#10931)
6908100 is described below
commit 69081009d3aa250ae723ee8b194f634bf8ddb92d
Author: Ville Brofeldt <[email protected]>
AuthorDate: Thu Sep 17 15:10:06 2020 +0300
fix(legacy-druid): undefined filter key (#10931)
---
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 162163f..f498ee6 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -1400,7 +1400,7 @@ class DruidDatasource(Model, BaseDatasource):
if df is None:
df = pd.DataFrame()
qry["filter"] = self._add_filter_from_pre_query_data(
- df, pre_qry["dimensions"], qry["filter"]
+ df, pre_qry["dimensions"], filters
)
qry["limit_spec"] = None
if row_limit: