Skip to main content
Window configuration.

Duration

Parameters
int
required
Bases: Diffable Duration defines a span of time, represented by a length and unit of the duration. For example, a length of 5 and unit of Month represents 5 months.

DurationTimeUnit

Bases: str, Enum A unit of time.

DAY

HOUR

MINUTE

MONTH

WEEK

FixedBatchWindow

Parameters
str
required
required
str
required
int
required
bool
int | None
str | None
int | None
bool
bool
Bases: Window A FixedBatch window resource. See About Windows.

data_time_field

GlobalWindow

Parameters
str
required
required
str | None
int | None
bool
bool
Bases: Window A Global window resource. Represent a single window spanning over all the data.

PartitionFilter

Parameters
str
required
required
Bases: Diffable For a partitioned table, this provides configuration to add a qualifying filter on the value of the partitioning column. This is useful when the the configured datatime field of the tumbling window is not the same as the partitioning column of the table, in which case - a partition filter helps prune out irrelevant partitions in queries.

TumblingWindow

Parameters
str
required
required
str
required
int
required
bool
str | None
int | None
Duration | None
Type: Duration
PartitionFilter | None
bool
bool
Bases: Window A Tumbling window resource.

data_time_field

window_size

Window

Parameters
str
required
required
str | None
required
int | None
bool
bool
Bases: Resource Base class for a window resource. See About Windows.

resource_class_name()

Returns: str Returns the base class name.

source_name

WindowTimeUnit

Bases: str, Enum Unit of window time.

DAY

HOUR

MINUTE

MONTH

WEEK