| 529 | } |
| 530 | |
| 531 | void Window::callResetPartition() { |
| 532 | MicrosecondTimer timer(&extractColumnTimeUs_); |
| 533 | partitionOffset_ = 0; |
| 534 | peerStartRow_ = 0; |
| 535 | peerEndRow_ = 0; |
| 536 | currentPartition_ = nullptr; |
| 537 | bool hasNextPartition = false; |
| 538 | hasNextPartition = windowBuild_->hasNextPartition(); |
| 539 | |
| 540 | if (hasNextPartition) { |
| 541 | currentPartition_ = windowBuild_->nextPartition(); |
| 542 | for (int i = 0; i < windowFunctions_.size(); i++) { |
| 543 | windowFunctions_[i]->resetPartition(currentPartition_.get()); |
| 544 | } |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | namespace { |
| 549 |
nothing calls this directly
no test coverage detected