From befa769e5f789785de307c9b64aa808ab01a1cd0 Mon Sep 17 00:00:00 2001 From: Ryan Yuan Date: Thu, 1 Oct 2020 08:42:53 +1000 Subject: [PATCH] docs: update clustering field docstrings --- google/cloud/bigquery/job.py | 8 ++++---- google/cloud/bigquery/table.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/google/cloud/bigquery/job.py b/google/cloud/bigquery/job.py index 20bce597a..70db69e71 100644 --- a/google/cloud/bigquery/job.py +++ b/google/cloud/bigquery/job.py @@ -1073,8 +1073,8 @@ def clustering_fields(self): .. note:: - As of 2018-06-29, clustering fields cannot be set on a table - which does not also have time partioning defined. + BigQuery supports clustering for both partitioned and + non-partitioned tables. """ prop = self._get_sub_prop("clustering") if prop is not None: @@ -2554,8 +2554,8 @@ def clustering_fields(self): .. note:: - As of 2018-06-29, clustering fields cannot be set on a table - which does not also have time partioning defined. + BigQuery supports clustering for both partitioned and + non-partitioned tables. """ prop = self._get_sub_prop("clustering") if prop is not None: diff --git a/google/cloud/bigquery/table.py b/google/cloud/bigquery/table.py index 902a7040a..640876e26 100644 --- a/google/cloud/bigquery/table.py +++ b/google/cloud/bigquery/table.py @@ -626,8 +626,8 @@ def clustering_fields(self): .. note:: - As of 2018-06-29, clustering fields cannot be set on a table - which does not also have time partioning defined. + BigQuery supports clustering for both partitioned and + non-partitioned tables. """ prop = self._properties.get("clustering") if prop is not None: @@ -1031,8 +1031,8 @@ def clustering_fields(self): .. note:: - As of 2018-06-29, clustering fields cannot be set on a table - which does not also have time partioning defined. + BigQuery supports clustering for both partitioned and + non-partitioned tables. """ prop = self._properties.get("clustering") if prop is not None: