mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql * removing having_druid * addressing comments, linting * fixed all tests * addressing comments * redirected to ui-core TimeGranularity type * query form metric linting * fixed broken chart type * implementing feedback
This commit is contained in:
@@ -181,7 +181,7 @@ class TestPostChartDataApi(BaseTestChartDataApi):
|
||||
"superset.utils.core.current_app.config",
|
||||
{**app.config, "SQL_MAX_ROW": 5},
|
||||
)
|
||||
def test_as_samples_with_row_limit_bigger_then_sql_max_row__rowcount_as_sql_max_row(
|
||||
def test_as_samples_with_row_limit_bigger_then_sql_max_row_rowcount_as_sql_max_row(
|
||||
self,
|
||||
):
|
||||
expected_row_count = app.config["SQL_MAX_ROW"]
|
||||
@@ -335,12 +335,6 @@ class TestPostChartDataApi(BaseTestChartDataApi):
|
||||
{"column": "__time_range"},
|
||||
],
|
||||
)
|
||||
self.assertEqual(
|
||||
data["result"][0]["rejected_filters"],
|
||||
[
|
||||
{"column": "__time_origin", "reason": "not_druid_datasource"},
|
||||
],
|
||||
)
|
||||
expected_row_count = self.get_expected_row_count("client_id_2")
|
||||
self.assertEqual(data["result"][0]["rowcount"], expected_row_count)
|
||||
|
||||
@@ -798,7 +792,6 @@ class TestGetChartDataApi(BaseTestChartDataApi):
|
||||
"filters": [],
|
||||
"extras": {
|
||||
"having": "",
|
||||
"having_druid": [],
|
||||
"where": "",
|
||||
},
|
||||
"applied_time_extras": {},
|
||||
|
||||
Reference in New Issue
Block a user