MCPcopy Create free account
hub / github.com/ByConity/ByConity / work

Method work

src/Processors/Sources/SourceWithProgress.cpp:72–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void SourceWithProgress::work()
73{
74 if (!limits.speed_limits.checkTimeLimit(total_stopwatch, limits.timeout_overflow_mode))
75 {
76 cancel();
77 }
78 else
79 {
80 was_progress_called = false;
81
82 ISourceWithProgress::work();
83
84 if (auto_progress && !was_progress_called && has_input)
85 progress({ current_chunk.chunk.getNumRows(), current_chunk.chunk.bytes() });
86 }
87}
88
89void SourceWithProgress::updateProgress(const Progress & value)
90{

Callers

nothing calls this directly

Calls 3

checkTimeLimitMethod · 0.45
getNumRowsMethod · 0.45
bytesMethod · 0.45

Tested by

no test coverage detected