gravitino.api.rel.partitions.partition.Partition

class gravitino.api.rel.partitions.partition.Partition

Bases: ABC

A partition represents a result of partitioning a table. The partition can be either a IdentityPartition, ListPartition, or RangePartition. It depends on the Table.partitioning().

APIs that are still evolving towards becoming stable APIs, and can change from one feature release to another (0.5.0 to 0.6.0).

__init__()

Methods

__init__()

name()

Returns:

properties()

Returns:

abstract name() str
Returns:

str: The name of the partition.

abstract properties() Dict[str, str]
Returns:

Dict[str, str]: The properties of the partition, such as statistics, location, etc.