feat: use dialect when tokenizing (#30614)

This commit is contained in:
Beto Dealmeida
2024-10-15 14:32:02 -04:00
committed by GitHub
parent d6b2e86155
commit 4cac7feb67
2 changed files with 3 additions and 3 deletions

View File

@@ -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