StructsΒ§
- Building
Fragment π - The fragment in the building phase, including the
StreamFragmentfrom the frontend and several additional helper fields. - Complete
Stream Fragment Graph - A wrapper of
StreamFragmentGraphthat contains the additional information of pre-existing fragments, which are connected to the graphβs top-most or bottom-most fragments. - Downstream
External πEdge Id - Fragment
Backfill Order - Adjacency list (G) of backfill orders.
G[10] -> [1, 2, 11]means for the backfill node infragment 10should be backfilled before the backfill nodes infragment 1, 2 and 11. - Fragment
Graph Downstream Context - Fragment
Graph Upstream Context - Scan
Rewrite πResult - Output mapping info after rewriting a
StreamScannode. - Stream
Fragment πEdge - The edge in the fragment graph.
- Stream
Fragment Graph - In-memory representation of a Fragment Graph, built from the
StreamFragmentGraphProtofrom the frontend.
EnumsΒ§
- EdgeId π
- The ID of an edge in the fragment graph. For different types of edges, the ID will be in different variants.
- Either
Fragment π - A fragment that is either being built or already exists. Used for generalize the logic of
crate::stream::ActorGraphBuilder.
StaticsΒ§
- EMPTY_
HASHMAP π
FunctionsΒ§
- build_
new_ πsink_ columns - Build sink column list after removing and appending columns.
- check_
sink_ fragments_ support_ refresh_ schema - clone_
fragment π - extend_
sink_ πcolumns - Append new columns to a sink/log-store column list with updated names/ids.
- fill_
snapshot_ backfill_ epoch - Fill snapshot epoch for
StreamScanNodeofSnapshotBackfill. Returntruewhen has change applied. - gen_
output_ πmapping - Generate the
output_mappingforDispatchStrategyfrom given columns. - mv_
on_ πmv_ dispatch_ strategy - rewrite_
log_ πstore_ table - Rewrite log store table columns for schema change.
- rewrite_
project_ πnode - Rewrite Project node input refs and extend with newly added columns.
- rewrite_
refresh_ schema_ sink_ fragment - rewrite_
stream_ πscan_ and_ merge - Rewrite
StreamScan+ Merge to match the new upstream schema.