Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize deferrable mode execution for BigQueryInsertJobOperator #31249

Merged
merged 4 commits into from May 25, 2023

Conversation

phanikumv
Copy link
Contributor

This PR verifies if a BigQuery job has already completed before deferring the task to prevent unnecessary deferring. This way, we can skip deferring the task if it has already been finished.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels May 12, 2023
@phanikumv phanikumv changed the title Optimize deferred mode execution for BigQueryInsertJobOperator Optimize deferrable mode execution for BigQueryInsertJobOperator May 12, 2023
Copy link
Collaborator

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add the documentation changes along with example DAGs

@phanikumv
Copy link
Contributor Author

We should also add the documentation changes along with example DAGs

Documentation and example DAG already added in a previous PR. Check out #26433

@phanikumv phanikumv force-pushed the bq_op branch 3 times, most recently from a0ec08d to d5c2587 Compare May 25, 2023 03:38
@ephraimbuddy ephraimbuddy merged commit 28f2e70 into apache:main May 25, 2023
42 checks passed
@ephraimbuddy ephraimbuddy deleted the bq_op branch May 25, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants