Class RangePartitioning (3.2.0)

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

Range-based partitioning configuration for a table.

Parameters

NameDescription
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.

Inheritance

builtins.object > RangePartitioning

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
TypeDescription
ValueErrorIf the value is not a `PartitionRange`.

Methods

__init__

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

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

RangePartitioning

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

Range-based partitioning configuration for a table.

Parameters
NameDescription
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.