mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
fix(cache): ensure SQL is sanitized before cache key generation (#35419)
This commit is contained in:
@@ -729,7 +729,7 @@ class TestPostChartDataApi(BaseTestChartDataApi):
|
||||
rv = self.post_assert_metric(CHART_DATA_URI, self.query_context_payload, "data")
|
||||
result = rv.json["result"][0]["query"]
|
||||
if get_example_database().backend != "presto":
|
||||
assert "(\n 'boy' = 'boy'\n)" in result
|
||||
assert "('boy' = 'boy')" in result
|
||||
|
||||
@unittest.skip("Extremely flaky test on MySQL")
|
||||
@with_feature_flags(GLOBAL_ASYNC_QUERIES=True)
|
||||
|
||||
Reference in New Issue
Block a user