mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
feat: use dialect when tokenizing (#30614)
This commit is contained in:
@@ -281,7 +281,7 @@ def test_extract_tables_illdefined() -> None:
|
||||
extract_tables('SELECT * FROM "tbname')
|
||||
assert (
|
||||
str(excinfo.value)
|
||||
== "You may have an error in your SQL statement. Unable to parse script"
|
||||
== "You may have an error in your SQL statement. Unable to tokenize script"
|
||||
)
|
||||
|
||||
# odd edge case that works
|
||||
|
||||
Reference in New Issue
Block a user