From 8a7d0cda3faa934a6ecfdfa27e1b89825c22efb2 Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 10 Sep 2024 10:13:42 -0700 Subject: [PATCH 1/2] docs: improve QueryJobConfig.destination docstring --- google/cloud/bigquery/job/query.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google/cloud/bigquery/job/query.py b/google/cloud/bigquery/job/query.py index 4ea5687e0..ca5d71d05 100644 --- a/google/cloud/bigquery/job/query.py +++ b/google/cloud/bigquery/job/query.py @@ -476,6 +476,9 @@ def destination(self): ID, each separated by ``.``. For example: ``your-project.your_dataset.your_table``. + .. note:: + Only table ID is passed to the backend, so any configuration + in `~google.cloud.bigquery.table.Table` is discarded. See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationQuery.FIELDS.destination_table """ From e8939e768af81382d3f43bddf8c99d02aba4c94c Mon Sep 17 00:00:00 2001 From: Linchin Date: Wed, 11 Sep 2024 10:28:37 -0700 Subject: [PATCH 2/2] add space --- google/cloud/bigquery/job/query.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/google/cloud/bigquery/job/query.py b/google/cloud/bigquery/job/query.py index ca5d71d05..ca2448eaa 100644 --- a/google/cloud/bigquery/job/query.py +++ b/google/cloud/bigquery/job/query.py @@ -477,8 +477,10 @@ def destination(self): ``your-project.your_dataset.your_table``. .. note:: + Only table ID is passed to the backend, so any configuration in `~google.cloud.bigquery.table.Table` is discarded. + See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationQuery.FIELDS.destination_table """