diff --git a/superset/charts/data/api.py b/superset/charts/data/api.py index 2e46eb2737..8514f553de 100644 --- a/superset/charts/data/api.py +++ b/superset/charts/data/api.py @@ -327,12 +327,7 @@ class ChartDataRestApi(ChartRestApi): """ Execute command as an async query. """ - # First, look for the chart query results in the cache. - with contextlib.suppress(ChartDataCacheLoadError): - result = command.run(force_cached=True) - if result is not None: - return self._send_chart_response(result) - # Otherwise, kick off a background job to run the chart query. + # Kick off a background job to run the chart query. # Clients will either poll or be notified of query completion, # at which point they will call the /data/ endpoint # to retrieve the results.