fix: Removing the logic to add timeseries_limit_metric to the data for table (#9832)

* Removing the logic to add timeseries_limit_metric to the data for table viz

* Also make the change in viz_sip_38

* Fix tests

Co-authored-by: michelle_thomas <michelle.thomas@airbnb.com>
This commit is contained in:
michellethomas
2020-05-20 10:20:54 -07:00
committed by GitHub
parent c691a07948
commit 368c85de1b
3 changed files with 1 additions and 13 deletions

View File

@@ -431,7 +431,7 @@ class TableVizTestCase(SupersetTestCase):
datasource = self.get_datasource_mock()
test_viz = viz.TableViz(datasource, form_data)
data = test_viz.get_data(df)
self.assertEqual(["sum_value", "SUM(value1)"], data["columns"])
self.assertEqual(["sum_value"], data["columns"])
class DistBarVizTestCase(SupersetTestCase):