When is BigQueryInsertJobOperator supposed to reattach to an existing big query job? #60243
Unanswered
mallman-experian
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You can always propose a PR to fix it. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When is BigQueryInsertJobOperator supposed to reattach to an existing big query job? Because from what I can tell there are absolutely no circumstances whatsoever that BigQueryInsertJobOperator will ever successfully reattach to an existing job id.
And I mean never, as in, under no circumstances and under no input configuration whatsoever.
I believe this is unintended behavior that was introduced in this commit:
d2eed7a
Note that there is literally no code path in this commit where re-attachment will succeed. It will always raise an exception, because _handle_job_error raises an exception if
job.state != "DONE"and the last thing the reattachment strategy does is call that method with ajob.state != "DONE".Sorry I don't have an actual bug to report. This is just my observation from scrutinizing this source code.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions