| 372 | void loadColumns(const RowVectorPtr& input, core::ExecCtx& execCtx) { |
| 373 | LocalDecodedVector decodedHolder(execCtx); |
| 374 | LocalSelectivityVector baseRowsHolder(&execCtx); |
| 375 | LocalSelectivityVector rowsHolder(&execCtx); |
| 376 | SelectivityVector* rows = nullptr; |
| 377 | for (auto& child : input->children()) { |
| 378 | if (isLazyNotLoaded(*child)) { |
| 379 | if (!rows) { |
| 380 | rows = rowsHolder.get(input->size()); |
| 381 | rows->setAll(); |
| 382 | } |
| 383 | LazyVector::ensureLoadedRows( |
| 384 | child, |
| 385 | *rows, |
| 386 | *decodedHolder.get(), |
| 387 | *baseRowsHolder.get(input->size())); |
| 388 | } |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | void gatherCopy( |
| 393 | BaseVector* target, |
| 394 | vector_size_t targetIndex, |
| 395 | vector_size_t count, |
no test coverage detected