ahmedabu98 commented on code in PR #23954:
URL: https://github.com/apache/beam/pull/23954#discussion_r1012389757
##########
sdks/python/apache_beam/io/gcp/bigquery_file_loads.py:
##########
@@ -718,6 +719,8 @@ def process(self, element, load_job_name_prefix,
*schema_side_inputs):
source_format=self.source_format,
job_labels=self.bq_io_metadata.add_additional_bq_job_labels(),
load_job_project_id=self.load_job_project_id)
+ yield pvalue.TaggedOutput(
+ TriggerLoadJobs.ONGOING_JOBS, (destination, job_reference))
self.pending_jobs.append(
Review Comment:
I believe yield doesn't return/exit out of process, so we would still
continue to the next line.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]