Class RangePartitioning (3.26.0)

RangePartitioning(range_=None, field=None, _properties=None)

Range-based partitioning configuration for a table.

Parameters

Name Description
range_ Optional[google.cloud.bigquery.table.PartitionRange]

Sets the range_ property.

field Optional[str]

Sets the field property.

_properties Optional[dict]

Private. Used to construct object from API resource.

Properties

field

str: The table is partitioned by this field.

The field must be a top-level NULLABLE / REQUIRED field. The only supported type is INTEGER / INT64.

range_

google.cloud.bigquery.table.PartitionRange: Defines the ranges for range partitioning.

Exceptions
Type Description
ValueError If the value is not a PartitionRange.