Skip to main content

Module sinks

Module sinks 

Source
Expand description

Logic related to the creation of dataflow sinks.

Structsยง

PkViolationWarner ๐Ÿ”’
Rate-limited detector for primary-key uniqueness violations as a sinkโ€™s cursor walk observes (key, timestamp) groups.

Traitsยง

SinkRender ๐Ÿ”’
A type that can be rendered as a dataflow sink.

Functionsยง

arrange_sink_input ๐Ÿ”’
Extract the sinkโ€™s key column(s) from each row, arrange the resulting (Option<Row>, Row) collection by key, and return just the stream of batches โ€” dropping the trace reader.
get_sink_render_for ๐Ÿ”’
render_sink ๐Ÿ”’
Renders complete differential collections that represent the sink and its errors as requested by the original CREATE SINK statement.

Type Aliasesยง

SinkBatchStream ๐Ÿ”’
Stream of arrangement batches handed to SinkRender::render_sink.
SinkTrace ๐Ÿ”’
The concrete trace type produced internally when arranging a sinkโ€™s input. The sink never sees this directly โ€” only the batches flowing through it โ€” but itโ€™s the anchor for the batch type in SinkBatchStream.