From 530a5db41238a7cc8f4407407a1dba55658055f0 Mon Sep 17 00:00:00 2001 From: Peter Lamut Date: Wed, 13 May 2020 14:20:04 +0200 Subject: [PATCH] Fix some typos and redundant Beta mark --- google/cloud/bigquery/dbapi/cursor.py | 2 +- google/cloud/bigquery/job.py | 6 +++--- tests/system.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/google/cloud/bigquery/dbapi/cursor.py b/google/cloud/bigquery/dbapi/cursor.py index 6b555f135..2d565ff0c 100644 --- a/google/cloud/bigquery/dbapi/cursor.py +++ b/google/cloud/bigquery/dbapi/cursor.py @@ -279,7 +279,7 @@ def _bqstorage_fetch(self, bqstorage_client): bqstorage_client, bigquery_storage_v1beta1.BigQueryStorageClient ) - # We want to preserve comaptibility with the v1beta1 BQ Storage clients, + # We want to preserve compatibility with the v1beta1 BQ Storage clients, # thus adjust the session creation if needed. if is_v1beta1_client: warnings.warn( diff --git a/google/cloud/bigquery/job.py b/google/cloud/bigquery/job.py index 45e265378..a97a0aeb7 100644 --- a/google/cloud/bigquery/job.py +++ b/google/cloud/bigquery/job.py @@ -3267,9 +3267,9 @@ def to_arrow( Use the :func:`tqdm.tqdm_gui` function to display a progress bar as a graphical dialog box. bqstorage_client (google.cloud.bigquery_storage_v1.BigQueryReadClient): - **Beta Feature** Optional. A BigQuery Storage API client. If - supplied, use the faster BigQuery Storage API to fetch rows - from BigQuery. This API is a billable API. + Optional. A BigQuery Storage API client. If supplied, use the + faster BigQuery Storage API to fetch rows from BigQuery. + This API is a billable API. This method requires the ``pyarrow`` and ``google-cloud-bigquery-storage`` libraries. diff --git a/tests/system.py b/tests/system.py index d6f7c2310..9f2f34879 100644 --- a/tests/system.py +++ b/tests/system.py @@ -1674,9 +1674,9 @@ def test_dbapi_fetch_w_bqstorage_client_large_result_set(self): ) cursor = dbapi.connect(Config.CLIENT, bqstorage_client).cursor() - # Pick a large enouhg LIMIT value to assure that the fallback to the + # Pick a large enough LIMIT value to assure that the fallback to the # default client is not needed due to the result set being too small - # (a known issue that causes problems when reding such result sets with + # (a known issue that causes problems when reading such result sets with # BQ storage client). cursor.execute( """