Skip to content
Permalink
Browse files
docs: update clustering field docstrings (#286)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #285  🦕
  • Loading branch information
ryanyuan committed Oct 13, 2020
1 parent 07c70f0 commit 5ea1ece2d911cdd1f3d9549ee01559ce8ed8269a
Showing with 8 additions and 8 deletions.
  1. +4 −4 google/cloud/bigquery/job.py
  2. +4 −4 google/cloud/bigquery/table.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:
@@ -625,8 +625,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:
@@ -1030,8 +1030,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:

0 comments on commit 5ea1ece

Please sign in to comment.