MCPcopy
hub / github.com/pingcap/tidb / buildStreamAgg

Method buildStreamAgg

pkg/executor/builder.go:2094–2100  ·  view source on GitHub ↗
(v *plannercore.PhysicalStreamAgg)

Source from the content-addressed store, hash-verified

2092}
2093
2094func (b *executorBuilder) buildStreamAgg(v *plannercore.PhysicalStreamAgg) exec.Executor {
2095 src := b.build(v.Children()[0])
2096 if b.err != nil {
2097 return nil
2098 }
2099 return b.buildStreamAggFromChildExec(src, v)
2100}
2101
2102func (b *executorBuilder) buildStreamAggFromChildExec(childExec exec.Executor, v *plannercore.PhysicalStreamAgg) *aggregate.StreamAggExec {
2103 exprCtx := b.ctx.GetExprCtx()

Callers 1

buildMethod · 0.95

Calls 3

buildMethod · 0.95
ChildrenMethod · 0.65

Tested by

no test coverage detected