250969 {
250970 idx_t current_chunk = info.entries.size();
250971
250972 unordered_set<idx_t> slice_entries {1, 2};
250973
250974 TestVectorFlat::Generate(info);
250975 idx_t current_idx = 0;
250976 for (
idx_t i = current_chunk; i < info.entries.size(); i++) {
250977 auto &chunk = *info.entries[i];
250978 SelectionVector sel(STANDARD_VECTOR_SIZE);
250979 idx_t sel_idx = 0;
250980 for (
idx_t k = 0; k < chunk.size(); k++) {
250981 if (slice_entries.count(current_idx + k) > 0) {
250982 sel.set_index(sel_idx++, k);
250983 }
250984 }
250985 chunk.Slice(sel, sel_idx);
250986 current_idx += chunk.size();
250987 }
250988 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237