Files
superset2/tests/unit_tests/sql/execution
Elizabeth Thompson 4a24fb5a0e fix(sql-lab): raise SupersetTemplateException instead of raw UndefinedError in SQLExecutor.execute_async
_render_sql_template() called process_template() with no try/except, so a
Jinja UndefinedError for an undefined variable not called as a function
would leak raw past execute_async() (execute() already caught it via its
broad except Exception). Wrap the call and re-raise as
SupersetTemplateException, consistent with how process_template() itself
already handles this failure mode elsewhere.
2026-08-06 16:47:15 +00:00
..