Expand description
TopK execution logic.
Consult TopKPlan documentation for details.
Modulesยง
- monoids
- Monoids for in-place compaction of monotonic streams.
- topk_
agg - Types for in-place intra-ts aggregation of monotonic streams.
Functionsยง
- build_
topk_ ๐negated_ stage - Build a stage of a topk reduction. Maintains the retractions of the output instead of emitted rows. This has the benefit that we have to maintain state proportionally to size of the output instead of the size of the input.
- render_
intra_ ๐ts_ thinning