Skip to content

Create deferrable SqlExecuteQueryOperator compatible with Postgres#65618

Open
karenbraganz wants to merge 12 commits into
apache:mainfrom
karenbraganz:seqo_defer
Open

Create deferrable SqlExecuteQueryOperator compatible with Postgres#65618
karenbraganz wants to merge 12 commits into
apache:mainfrom
karenbraganz:seqo_defer

Conversation

@karenbraganz
Copy link
Copy Markdown
Collaborator


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

This PR modifies the SqlExecuteQueryOperator to be deferrable. I have also created a SqlExecuteQueryTrigger and added asynchronous functions to the DbApiHook for use with the SqlExecuteQueryOperator when it is deferred.

I plan on making this compatible with several database types. This PR only adds compatibility with Postgres.


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Comment thread providers/common/sql/src/airflow/providers/common/sql/operators/sql.py Outdated
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