This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 0.37
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 1f3a93b2c91081c5ebb9ed950f4a8d2a36471f59
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 e9c6029..5285201 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -1396,7 +1396,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:

Reply via email to