mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842)
(cherry picked from commit 5ab95aaf7d)
This commit is contained in:
committed by
Michael S. Molina
parent
4581b46098
commit
58a53b4457
@@ -1891,6 +1891,7 @@ SELECT * FROM t"""
|
||||
"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