Skip to content

PartitionField

Source code in docs_src/capo_kinesis/types/partition_field.py
class PartitionField(TypedDict, closed=True):
    transform: "capo_kinesis.types.partition_transform.PartitionTransform"
    """<p>The partition transform to apply. The only valid value is <code>TIME_HOUR</code>.</p>"""
    source_name: "capo_kinesis.types.partition_source_name.PartitionSourceName"
    """<p>The name of the source column used for partitioning. This column must be of the <code>timestamptz</code> type.</p>"""

source_name instance-attribute

source_name: PartitionSourceName

The name of the source column used for partitioning. This column must be of the timestamptz type.

transform instance-attribute

transform: PartitionTransform

The partition transform to apply. The only valid value is TIME_HOUR.