| 223 | } // namespace bytedance::bolt::exec |
| 224 | |
| 225 | void Window::initialize() { |
| 226 | Operator::initialize(); |
| 227 | BOLT_CHECK_NOT_NULL(windowNode_); |
| 228 | createWindowFunctions(); |
| 229 | if (isSpillableWindowBuild_) { |
| 230 | createWindowFunctionsForSpillableWindowBuild(); |
| 231 | for (const auto& func : windowFunctions_) { |
| 232 | windowResultTypes_.push_back(func->resultType()); |
| 233 | } |
| 234 | } |
| 235 | createPeerAndFrameBuffers(); |
| 236 | windowBuild_->setNumRowsPerOutput(numRowsPerOutput_); |
| 237 | windowNode_.reset(); |
| 238 | } |
| 239 | |
| 240 | namespace { |
| 241 | void checkRowFrameBounds(const core::WindowNode::Frame& frame) { |
nothing calls this directly
no test coverage detected