| 70 | } // namespace |
| 71 | |
| 72 | void VectorLoader::load( |
| 73 | RowSet rows, |
| 74 | ValueHook* hook, |
| 75 | vector_size_t resultSize, |
| 76 | VectorPtr* result) { |
| 77 | { |
| 78 | LazyIoStatsRecorder recorder(result); |
| 79 | loadInternal(rows, hook, resultSize, result); |
| 80 | } |
| 81 | if (hook) { |
| 82 | // Record number of rows loaded directly into ValueHook bypassing |
| 83 | // materialization into vector. This counter can be used to understand |
| 84 | // whether aggregation pushdown is happening or not. |
| 85 | addThreadLocalRuntimeStat("loadedToValueHook", RuntimeCounter(rows.size())); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void VectorLoader::load( |
| 90 | const SelectivityVector& rows, |