From d8bcead16441315120250157b16dc09751a6d9d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 22 Dec 2025 14:49:30 -0600 Subject: [PATCH] docs: clarify that only jobs.query and jobs.getQueryResults are affected by page_size in query_and_wait Fixes internal issue b/433324499 --- google/cloud/bigquery/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/google/cloud/bigquery/client.py b/google/cloud/bigquery/client.py index c50e7c2d7..b7d3ebe1e 100644 --- a/google/cloud/bigquery/client.py +++ b/google/cloud/bigquery/client.py @@ -3638,6 +3638,11 @@ def query_and_wait( page_size (Optional[int]): The maximum number of rows in each page of results from the initial jobs.query request. Non-positive values are ignored. + + This parameter only affects the jobs.query and + jobs.getQueryResults API calls. Large results downloaded with + the BigQuery Storage Read API are intentionally unaffected + by this parameter. max_results (Optional[int]): The maximum total number of rows from this request.