superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: fix: unicode word cloud example (#7747)
Date Thu, 04 Jul 2019 05:32:36 GMT
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 08b4a17  fix: unicode word cloud example (#7747)
08b4a17 is described below

commit 08b4a1735a2de75f921304fb018e1b146fafc1f6
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Wed Jul 3 22:32:30 2019 -0700

    fix: unicode word cloud example (#7747)
    
    closes #7339
---
 superset/data/unicode_test_data.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/superset/data/unicode_test_data.py b/superset/data/unicode_test_data.py
index db62c63..943bfc3 100644
--- a/superset/data/unicode_test_data.py
+++ b/superset/data/unicode_test_data.py
@@ -75,7 +75,13 @@ def load_unicode_test_data():
     slice_data = {
         "granularity_sqla": "dttm",
         "groupby": [],
-        "metric": "sum__value",
+        "metric": {
+            "expressionType": "SIMPLE",
+            "column": {"column_name": "value", "type": "INT"},
+            "aggregate": "SUM",
+            "label": "value",
+            "optionName": "metric_11",
+        },
         "row_limit": config.get("ROW_LIMIT"),
         "since": "100 years ago",
         "until": "now",


Mime
View raw message