MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / reduceStage

Method reduceStage

dgraph/cmd/bulk/loader.go:554–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

552}
553
554func (ld *loader) reduceStage() {
555 ld.prog.setPhase(reducePhase)
556
557 r := reducer{
558 state: ld.state,
559 streamIds: make(map[string]uint32),
560 }
561 x.Check(r.run())
562}
563
564func (ld *loader) writeSchema() {
565 numDBs := uint32(len(ld.dbs))

Callers 1

RunBulkLoaderFunction · 0.80

Calls 3

runMethod · 0.95
CheckFunction · 0.92
setPhaseMethod · 0.80

Tested by

no test coverage detected