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



##########
File path: sdks/python/apache_beam/io/gcp/bigquery_tools.py
##########
@@ -182,7 +182,10 @@ def parse_table_reference(table, dataset=None, 
project=None):
   """
 
   if isinstance(table, bigquery.TableReference):
-    return table
+    return bigquery.TableReference(

Review comment:
       on second thought, I think it's a better practice to avoid reusing 
objects, and create copies for clarity...




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


Reply via email to