Expand description
Logic related to the creation of dataflow sinks.
Structsยง
- PkViolation
Warner ๐ - Rate-limited detector for primary-key uniqueness violations as a sinkโs
cursor walk observes
(key, timestamp)groups.
Traitsยง
- Sink
Render ๐ - 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 SINKstatement.
Type Aliasesยง
- Sink
Batch ๐Stream - Stream of arrangement batches handed to
SinkRender::render_sink. - Sink
Trace ๐ - 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.