| 211 | } |
| 212 | |
| 213 | void setupSources(int filePathCount, int rowsPerVector) { |
| 214 | filePaths_ = makeFilePaths(filePathCount); |
| 215 | vectors_ = makeVectors(filePaths_.size(), rowsPerVector); |
| 216 | for (int i = 0; i < filePaths_.size(); i++) { |
| 217 | writeToFile(filePaths_[i]->path, vectors_[i]); |
| 218 | } |
| 219 | createDuckDbTable(vectors_); |
| 220 | } |
| 221 | |
| 222 | std::unique_ptr<SerializedPage> toSerializedPage(const RowVectorPtr& vector) { |
| 223 | auto data = std::make_unique<VectorStreamGroup>(pool()); |
nothing calls this directly
no test coverage detected