You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executes a BigQuery job. Waits for the job to complete and returns job id.
states the method returns the job_id where it returns the job object.
Could be misleading if one expects a string. The full job details is much better as one can inquire on the errors or stats w/o having to fetch the job again.
BigQueryInsertJobOperator however does return the job_id value as documented.
Wondering if it would make sense to have a switch parameter in both to let user choose to return either job_id (default) or serialized job, in full or for a subset of keys.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
airflow/airflow/providers/google/cloud/operators/bigquery.py
Line 2143 in d895cd8
job_id
where it returns thejob
object.Could be misleading if one expects a string. The full job details is much better as one can inquire on the errors or stats w/o having to fetch the job again.
BigQueryInsertJobOperator
however does return thejob_id
value as documented.Wondering if it would make sense to have a switch parameter in both to let user choose to return either
job_id
(default) or serializedjob
, in full or for a subset of keys.Beta Was this translation helpful? Give feedback.
All reactions