mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
fix(sql): unable to filter text with quotes (#17881)
This commit is contained in:
@@ -380,7 +380,7 @@ class TestQueryContext(SupersetTestCase):
|
||||
assert re.search(r'[`"\[]?num[`"\]]? IS NOT NULL', sql_text)
|
||||
assert re.search(
|
||||
r"""NOT \([`"\[]?name[`"\]]? IS NULL[\s\n]* """
|
||||
r"""OR [`"\[]?name[`"\]]? IN \('abc'\)\)""",
|
||||
r"""OR [`"\[]?name[`"\]]? IN \('"abc"'\)\)""",
|
||||
sql_text,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user