Skip to content

Add parameters as template field for SqlSensor#39588

Merged
josh-fell merged 1 commit intoapache:mainfrom
josh-fell:templated-parameters-common-sql
May 13, 2024
Merged

Add parameters as template field for SqlSensor#39588
josh-fell merged 1 commit intoapache:mainfrom
josh-fell:templated-parameters-common-sql

Conversation

@josh-fell
Copy link
Copy Markdown
Contributor

@josh-fell josh-fell commented May 13, 2024

Since params really shouldn't be used for parameterizing SQL, it would be helpful if parameters could access Airflow Context, user-defined macros, etc. via Jinja templating in SqlSensor.

@josh-fell josh-fell merged commit ce4e847 into apache:main May 13, 2024
@josh-fell josh-fell deleted the templated-parameters-common-sql branch May 13, 2024 16:09
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants