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

Struct importStepMinimalTask

pkg/disttask/importinto/proto.go:241–246  ·  view source on GitHub ↗

importStepMinimalTask is the minimal task of IMPORT INTO. TaskExecutor will split the subtask into minimal tasks(Chunks -> Chunk)

Source from the content-addressed store, hash-verified

239// importStepMinimalTask is the minimal task of IMPORT INTO.
240// TaskExecutor will split the subtask into minimal tasks(Chunks -> Chunk)
241type importStepMinimalTask struct {
242 Plan importer.Plan
243 Chunk Chunk
244 SharedVars *SharedVars
245 logger *zap.Logger
246}
247
248// RecoverArgs implements workerpool.TaskMayPanic interface.
249func (*importStepMinimalTask) RecoverArgs() (metricsLabel string, funcInfo string, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected