mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842)
This commit is contained in:
@@ -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')",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user