WChCh removed a comment on issue #7074: Filter-box charts broken with 0.31 with Druid datasources URL: https://github.com/apache/incubator-superset/issues/7074#issuecomment-525316831 > Another regression that I have noticed in Filter Box is that now (in 0.31.0) instead of returning "No data", like it happens on 0.26, I get the following: > > ``` > Traceback (most recent call last): > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/superset/views/base.py", line 114, in wraps > return f(self, *args, **kwargs) > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/superset/views/core.py", line 1229, in explore_json > samples=samples, > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/superset/views/core.py", line 1160, in generate_json > payload = viz_obj.get_payload() > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/superset/viz.py", line 375, in get_payload > payload['data'] = self.get_data(df) > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/superset/viz.py", line 1821, in get_data > df = df.sort_values(metric, ascending=flt.get('asc')) > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/pandas/core/frame.py", line 4421, in sort_values > stacklevel=stacklevel) > File "/srv/deployment/analytics/superset/venv/lib/python3.7/site-packages/pandas/core/generic.py", line 1382, in _get_label_or_level_values > raise KeyError(key) > KeyError: 'count' > ``` > > Count in this case is the sort metric of the first filter added. > > EDIT: might be related to #7019 ? hi, elukey I got the same problem! how to solve it?
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
