MCPcopy Create free account
hub / github.com/bytedance/bolt / noMoreInput

Method noMoreInput

bolt/exec/Window.cpp:520–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520void Window::noMoreInput() {
521 MicrosecondTimer timer(&addInputTimeUs_);
522 Operator::noMoreInput();
523 auto maxOutputRows = outputBatchRows(windowBuild_->estimateOutputRowSize());
524 windowBuild_->setMaxOutputRows(maxOutputRows);
525 if (needSort_) {
526 windowBuild_->noMoreInputCommon();
527 }
528 windowBuild_->noMoreInput();
529}
530
531void Window::callResetPartition() {
532 MicrosecondTimer timer(&extractColumnTimeUs_);

Callers

nothing calls this directly

Calls 3

setMaxOutputRowsMethod · 0.80
noMoreInputCommonMethod · 0.80
estimateOutputRowSizeMethod · 0.45

Tested by

no test coverage detected