This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch feature--embeddable-charts-pilot
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 5ec0252a118e79280d7b01bb6dfeb3217fb9ed83
Author: Conglei Shi <[email protected]>
AuthorDate: Mon Dec 17 09:59:40 2018 -0800

    fixed druid test
---
 tests/druid_func_tests.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/druid_func_tests.py b/tests/druid_func_tests.py
index 9059945..9be24d9 100644
--- a/tests/druid_func_tests.py
+++ b/tests/druid_func_tests.py
@@ -586,6 +586,10 @@ class DruidFuncTestCase(unittest.TestCase):
 
     def test_metrics_and_post_aggs_tree(self):
         metrics = ['A', 'B', 'm1', 'm2']
+        metrics = [{
+            'label': metric,
+            'expressionType': 'BUILTIN',
+        } for metric in metrics]
         metrics_dict = {}
         for i in range(ord('A'), ord('K') + 1):
             emplace(metrics_dict, chr(i), True)

Reply via email to