250864 {
250865 auto values = TestVectorFlat::GenerateValues(info);
250866 for (
idx_t cur_row = 0; cur_row < TestVectorFlat::TEST_VECTOR_CARDINALITY; cur_row += STANDARD_VECTOR_SIZE) {
250867 auto result = make_uniq<DataChunk>();
250868 result->Initialize(Allocator::DefaultAllocator(), info.types);
250869 auto cardinality = MinValue<idx_t>(STANDARD_VECTOR_SIZE, TestVectorFlat::TEST_VECTOR_CARDINALITY - cur_row);
250870 for (
idx_t c = 0; c < info.types.size(); c++) {
250871 result->data[c].SetValue(0, values.GetValue(0, c));
250872 result->data[c].SetVectorType(VectorType::CONSTANT_VECTOR);
250873 }
250874 result->SetCardinality(cardinality);
250875
250876 info.entries.push_back(std::move(result));
250877 }
250878 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237