fix: don't reformat generated queries (#30350)

This commit is contained in:
Beto Dealmeida
2024-10-04 11:09:37 -04:00
committed by GitHub
parent b627011463
commit 0b34197815
11 changed files with 29 additions and 50 deletions

View File

@@ -268,7 +268,7 @@ class TestRowLevelSecurity(SupersetTestCase):
# establish that the filters are grouped together correctly with
# ANDs, ORs and parens in the correct place
assert (
"WHERE\n (\n (\n name LIKE 'A%' OR name LIKE 'B%'\n ) OR (\n name LIKE 'Q%'\n )\n )\n AND (\n gender = 'boy'\n )"
"WHERE ((name like 'A%' or name like 'B%') OR (name like 'Q%')) AND (gender = 'boy');"
in sql
)