Skip to content

Commit

Permalink
docs: update clustering field docstrings (#286)
Browse files Browse the repository at this point in the history
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 authored Oct 13, 2020
1 parent 07c70f0 commit 5ea1ece
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions google/cloud/bigquery/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions google/cloud/bigquery/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 5ea1ece

Please sign in to comment.