Display rendered SQL from async operators in the Airflow UI using the monkeypatched approach #1490
Labels
area:rendering
Related to rendering, like Jinja, Airflow tasks, etc
execution:async
Related to the Async execution mode
priority:high
High priority issues are blocking or critical issues without a workaround and large impact
Milestone
Issue Description
In PR #1474, the monkeypatched approach generates SQL that is submitted to asynchronous Airflow operators. It would be helpful for users to see this rendered SQL directly in the Airflow UI to enhance visibility and debugging.
In my initial attempt within PR #1474 itself, I noticed that the SQL is stored in the rendered template field while the operator is running but gets cleared after transitioning into and out of deferred mode. Investigate ways to persist the SQL during deferrable execution.
Acceptance Criteria
This feature will improve the user experience by making the generated SQL more transparent and easier to inspect.
The text was updated successfully, but these errors were encountered: