mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
fix(sql_parse): Support Jinja format() filter when extracting latest[_sub]_partition (#28117)
(cherry picked from commit 2f11f66167)
This commit is contained in:
committed by
Michael S. Molina
parent
36ba5c9434
commit
d2488e94e1
@@ -1896,6 +1896,7 @@ SELECT * FROM t"""
|
||||
[
|
||||
"latest_partition('foo.bar')",
|
||||
"latest_partition(' foo.bar ')", # Non-atypical user error which works
|
||||
"latest_partition('foo.%s'|format('bar'))",
|
||||
"latest_sub_partition('foo.bar', baz='qux')",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user