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

Function getColumns

bolt/exec/tests/utils/QueryAssertions.cpp:559–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559MaterializedRow getColumns(
560 const MaterializedRow& row,
561 const std::vector<uint32_t>& columnIndices) {
562 MaterializedRow columns;
563 columns.reserve(columnIndices.size());
564 for (auto& index : columnIndices) {
565 columns.push_back(row[index]);
566 }
567 return columns;
568}
569
570void printRow(
571 const MaterializedRow& row,

Callers 1

assertResultsOrderedFunction · 0.85

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected