We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fbd13b commit a7e6f84Copy full SHA for a7e6f84
1 file changed
sdks/python/apache_beam/io/gcp/bigquery_file_loads.py
@@ -172,12 +172,12 @@ def _bq_uuid(seed=None):
172
173
174
def _bq_uuid_list(list):
175
- checksum = hashlib.sha256()
+ cs = hashlib.sha256()
176
for item in list:
177
- checksum.update(item.encode('utf-8'))
+ cs.update(bigquery_tools.get_hashable_destination(item).encode('utf-8'))
178
# separator
179
- checksum.update(b'\x00')
180
- return checksum.hexdigest()
+ cs.update(b'\x00')
+ return cs.hexdigest()
181
182
183
class _ShardDestinations(beam.DoFn):
0 commit comments