MCPcopy Create free account
hub / github.com/bytedance/bolt / setupSources

Method setupSources

bolt/exec/tests/MultiFragmentTest.cpp:213–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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());

Callers

nothing calls this directly

Calls 2

writeToFileFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected