Skip to main content

Module contract

Module contract 

Source
Expand description

The Timelake table contract (SPEC §7.1): which column is time, which columns identify a series, and the layout/maintenance policy derived from them. Stored as timelake.* Iceberg table properties (see property), so the contract travels with the table and other engines simply ignore it.

Structs§

Contract
The parsed contract of an existing table.
TableOptions
Options for creating a table. Only time_column is required for a time-series table; leave it unset for a plain (dimension) table such as device metadata.

Enums§

Chunk
Time partition granularity: how much time one partition covers.

Functions§

format_duration
Formats whole seconds of a duration in the largest exact unit (90d, 36h, 45s), the inverse of parse_duration.
parse_duration
Parses durations like 90d, 12h, 30m, 45s, 2w, 1y, or spelled out (1 day, 3 hours).