From 6ff898a10bf79e45389e08ea0d08396c3c2844bb Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Fri, 19 Jan 2024 15:21:23 -0800 Subject: [PATCH] Fixup: allow to configure BigQuery project (#35601) In #35384 these two lines were forgotten and introduced a bug in the script. Sorry for the mistake. Closes #35601 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35601 from lepistone:fixup-bigquery-project 100d4d68ad7eeeead075d2fb5ee4f5d64f7e5079 PiperOrigin-RevId: 599951984 --- tools/run_tests/performance/bq_upload_result.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/run_tests/performance/bq_upload_result.py b/tools/run_tests/performance/bq_upload_result.py index f413ec17810..983cecaff1d 100755 --- a/tools/run_tests/performance/bq_upload_result.py +++ b/tools/run_tests/performance/bq_upload_result.py @@ -51,7 +51,7 @@ def _upload_netperf_latency_csv_to_bigquery( } bq = big_query_utils.create_big_query() - _create_results_table(bq, dataset_id, table_id) + _create_results_table(bq, project_id, dataset_id, table_id) if not _insert_result( bq, project_id, dataset_id, table_id, scenario_result, flatten=False @@ -73,7 +73,7 @@ def _upload_scenario_result_to_bigquery( scenario_result = json.loads(f.read()) bq = big_query_utils.create_big_query() - _create_results_table(bq, dataset_id, table_id) + _create_results_table(bq, project_id, dataset_id, table_id) if not _insert_scenario_result( bq,