You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/09/03 19:49:58 UTC

[GitHub] [beam] pabloem commented on a change in pull request #12761: [BEAM-10853] Fixing copy name issue: Single name for all copies

pabloem commented on a change in pull request #12761:
URL: https://github.com/apache/beam/pull/12761#discussion_r483216683



##########
File path: sdks/python/apache_beam/io/gcp/bigquery_file_loads.py
##########
@@ -356,8 +359,13 @@ def process(self, element, job_name_prefix=None):
       copy_from_reference.projectId = vp.RuntimeValueProvider.get_value(
           'project', str, '')
 
-    copy_job_name = '%s_%s' % (
+    copy_job_name = '%s_%s_%s' % (
         job_name_prefix,
+        _bq_uuid(
+            '%s:%s.%s' % (

Review comment:
       I've made the change, and added a smallmodification to a test that reproduces this issue.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org