diff --git a/bigquery/client.py b/bigquery/client.py index 927345c..bab94f2 100644 --- a/bigquery/client.py +++ b/bigquery/client.py @@ -617,6 +617,7 @@ def update_table(self, dataset, table, schema): result = self.bigquery.tables().update( projectId=self.project_id, datasetId=dataset, + tableId=table, body=body ).execute() if self.swallow_results: @@ -664,6 +665,7 @@ def patch_table(self, dataset, table, schema): result = self.bigquery.tables().patch( projectId=self.project_id, datasetId=dataset, + tableId=table, body=body ).execute() if self.swallow_results: