Skip to content

Conversation

hussein-awala
Copy link
Member

closes: #29912


In deferrable mode, we should not wait the job result in the worker, instead we create a trigger and we wait the end of the job in the triggerer, and this is what we do currently. But in the normal mode, we should wait it in the worker, otherwise the task finishes immediately with success state regardless the state of the job and its duration.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Mar 5, 2023
@potiuk
Copy link
Member

potiuk commented Mar 5, 2023

BTW. @Taragolis seems we have the docker-compose flaky test back :(

@potiuk
Copy link
Member

potiuk commented Mar 5, 2023

Ah. No. Seems that is side effect of the "importilb 5.0.0" issue : #29924.

It should be fine now after it's merged. Let me rebase and try.

@potiuk potiuk force-pushed the fix/bigquery_to_gcs_wait branch from feb7c31 to becf530 Compare March 5, 2023 08:29
@potiuk potiuk merged commit 464ab1b into apache:main Mar 5, 2023
@benjyblack
Copy link

@hussein-awala thanks for fixing this so quickly!

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.

BigQueryToGCSOperator does not wait for completion
4 participants