[ 
https://issues.apache.org/jira/browse/BEAM-10853?focusedWorklogId=478778&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-478778
 ]

ASF GitHub Bot logged work on BEAM-10853:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Sep/20 19:34
            Start Date: 03/Sep/20 19:34
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on a change in pull request 
#12761:
URL: https://github.com/apache/beam/pull/12761#discussion_r483209223



##########
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:
       May be update the seed to _bq_uuid() function instead of concatenating 
two UUIDs ?
   
   Also, I'm curious why the existing seed didn't work for this user.




----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 478778)
    Time Spent: 20m  (was: 10m)

> Copy jobs for multi-table imports to BQ have duplicated names.
> --------------------------------------------------------------
>
>                 Key: BEAM-10853
>                 URL: https://issues.apache.org/jira/browse/BEAM-10853
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-py-gcp
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A user has reported this issue, and I've written a fix here: 
> https://github.com/apache/beam/pull/12761



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to