You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2019/03/09 19:14:13 UTC
[incubator-superset] branch master updated: Retrieve df from
get_df_payload to hit cache (#6990)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin 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 0535a11 Retrieve df from get_df_payload to hit cache (#6990)
0535a11 is described below
commit 0535a11fe6b1c91e49340be406450b8411574d05
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Sat Mar 9 21:14:04 2019 +0200
Retrieve df from get_df_payload to hit cache (#6990)
---
superset/views/core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/views/core.py b/superset/views/core.py
index b566c77..03d0b00 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1142,7 +1142,7 @@ class Superset(BaseSupersetView):
def get_raw_results(self, viz_obj):
return self.json_response({
- 'data': viz_obj.get_df().to_dict('records'),
+ 'data': viz_obj.get_df_payload()['df'].to_dict('records'),
})
def get_samples(self, viz_obj):