Abacn commented on code in PR #31895:
URL: https://github.com/apache/beam/pull/31895#discussion_r1678335832


##########
sdks/python/apache_beam/io/gcp/bigquery_read_internal.py:
##########
@@ -302,7 +303,7 @@ def _execute_query(
         self._job_name,
         self._source_uuid,
         bigquery_tools.BigQueryJobTypes.QUERY,
-        '%s_%s' % (int(time.time()), random.randint(0, 1000)))
+        '%s_%s' % (int(time.time()), secrets.token_hex(3)))

Review Comment:
   in alignment with 
https://github.com/apache/beam/blob/0b61035f36fb099a8dcd39978c71779a2e81f957/sdks/python/apache_beam/io/gcp/bigquery.py#L2961
   
   likely the cause of #26343



-- 
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: github-unsubscr...@beam.apache.org

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

Reply via email to