SpyderRivera commented on issue #4371: Mapbox isn't working on Druid
URL: 
https://github.com/apache/incubator-superset/issues/4371#issuecomment-364142896
 
 
   ```{"status": "failed", "stacktrace": "Traceback (most recent call last):\n  
File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/viz.py\",
 line 276, in get_payload\n    df = self.get_df()\n  File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/viz.py\",
 line 98, in get_df\n    self.results = self.datasource.query(query_obj)\n  
File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/connectors/druid/models.py\",
 line 1145, in query\n    client=client, query_obj=query_obj, phase=2)\n  File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/connectors/druid/models.py\",
 line 933, in get_query_str\n    return self.run_query(client=client, 
phase=phase, **query_obj)\n  File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/connectors/druid/models.py\",
 line 995, in run_query\n    metrics_dict)\n  File 
\"/home/mtraylor/venv/lib/python2.7/site-packages/superset-0.21.0rc1-py2.7.egg/superset/connectors/druid/models.py\",
 line 892, in metrics_and_post_aggs\n    if 
metrics_dict[metric_name].metric_type != 'postagg':\nKeyError: None\n", 
"cached_dttm": "2018-02-08T15:15:05", "is_cached": false, "query": "", 
"cache_timeout": 86400, "data": null, "error": "None", "form_data": 
{"show_bubbles": false, "viz_type": "world_map", "having_filters": [], 
"metric": "count", "since": "7 days ago", "entity": "targets_geo_country_code", 
"druid_time_origin": null, "country_fieldtype": "cca2", "datasource": 
"2__druid", "filters": [], "granularity": "one day", "secondary_metric": null, 
"until": "now", "max_bubble_size": "25"}, "cache_key": 
"a9c07ee3943383be73254cb35af81543", "annotations": []}```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to