mirror of
https://github.com/apache/superset.git
synced 2026-04-12 12:47:53 +00:00
fix(sql_parse): Support Jinja format() filter when extracting latest[_sub]_partition (#28117)
This commit is contained in:
@@ -1942,6 +1942,7 @@ def test_sqlstatement() -> None:
|
||||
[
|
||||
"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