Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bigquery): add support for hive partitioning options configuration #9626

Merged
merged 4 commits into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Mark hive partitioning class and propertis as beta
  • Loading branch information
plamut committed Nov 13, 2019
commit b736df327d84c4a11f715fe31ace2479c0194dee
12 changes: 10 additions & 2 deletions bigquery/google/cloud/bigquery/external_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,11 @@ def from_api_repr(cls, resource):


class HivePartitioningOptions(object):
"""Options that configure hive partitioning.
"""[Beta] Options that configure hive partitioning.

.. note::
**Experimental**. This feature is experimental and might change or
have limited support.

See
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#HivePartitioningOptions
Expand Down Expand Up @@ -692,9 +696,13 @@ def compression(self, value):

@property
def hive_partitioning(self):
"""Optional[:class:`~.external_config.HivePartitioningOptions`]: When set, \
"""Optional[:class:`~.external_config.HivePartitioningOptions`]: [Beta] When set, \
it configures hive partitioning support.

.. note::
**Experimental**. This feature is experimental and might change or
have limited support.

See
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#ExternalDataConfiguration.FIELDS.hive_partitioning_options
"""
Expand Down
2 changes: 1 addition & 1 deletion bigquery/google/cloud/bigquery/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ def field_delimiter(self, value):

@property
def hive_partitioning(self):
"""Optional[:class:`~.external_config.HivePartitioningOptions`]: When set, \
"""Optional[:class:`~.external_config.HivePartitioningOptions`]: [Beta] When set, \
it configures hive partitioning support.

.. note::
Expand Down