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:
AAfghahi
2022-07-08 11:57:03 -04:00
committed by GitHub
parent 9856d88c03
commit 0ce0c6e1eb
47 changed files with 65 additions and 454 deletions

View File

@@ -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": {},