As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.table.TimePartitioningType

class google.cloud.bigquery.table.TimePartitioningType[source]

Specifies the type of time partitioning to perform.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

Attributes

DAY

Generates one partition per day.

HOUR

Generates one partition per hour.

DAY = 'DAY'

Generates one partition per day.

Type

str

HOUR = 'HOUR'

Generates one partition per hour.

Type

str