Expand description
This module contains the logic for matching the internal state tables of two streaming jobs,
used for replacing a streaming job (typically ALTER MV) while preserving the existing state.
MacrosΒ§
- bail_
fragment π - Constructs a
Error::Fragmentvariant and bails out. - bail_
graph π - Constructs a
Error::Graphvariant and bails out. - bail_
operator π - Constructs a
Error::Operatorvariant and bails out. - fragment π
- Constructs a
Error::Fragmentvariant. - graph π
- Constructs a
Error::Graphvariant. - operator π
- Constructs a
Error::Operatorvariant.
StructsΒ§
- Fragment π
- Node for a fragment in the
Graph. - Graph
- A streaming job graph thatβs used for state table matching.
- Match π
- The match result of a fragment in the source graph to a fragment in the target graph.
- Matches π
- The successful matching result of two
Graphs. - Stream
Node πDesc - Helper type for describing a
StreamNodein error messages.
EnumsΒ§
- Error π
- Error type for failed state table matching.
FunctionsΒ§
- match_
graph π - Matches two
Graphs, and returns the match result from each fragment ing1tog2. - match_
graph_ πinternal_ tables - Matches two
Graphs, and returns the internal table mapping fromg1tog2.