chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842)

This commit is contained in:
John Bodley
2024-04-02 17:08:42 -07:00
committed by GitHub
parent 1c742f5866
commit 5ab95aaf7d
2 changed files with 2 additions and 1 deletions

View File

@@ -1937,6 +1937,7 @@ def test_sqlstatement() -> None:
"macro",
[
"latest_partition('foo.bar')",
"latest_partition(' foo.bar ')", # Non-atypical user error which works
"latest_sub_partition('foo.bar', baz='qux')",
],
)