mirror of
https://github.com/apache/superset.git
synced 2026-05-08 01:15:46 +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
54942e2eaa
commit
a39971abcd
@@ -1890,6 +1890,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