akashorabek commented on code in PR #34536:
URL: https://github.com/apache/beam/pull/34536#discussion_r2030611162


##########
sdks/python/apache_beam/io/gcp/big_query_query_to_table_it_test.py:
##########
@@ -131,6 +131,10 @@ def _setup_new_types_env(self):
     request = bigquery.BigqueryTablesInsertRequest(
         projectId=self.project, datasetId=self.dataset_id, table=table)
     self.bigquery_client.client.tables.Insert(request)
+
+    # Wait for table creation to propagate.
+    time.sleep(10)

Review Comment:
   Replaced it with the `get_table` method, which waits and retries until the 
table becomes visible or throws an error



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