Class RangePartitioning (3.36.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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.