MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / constructDataChunkForColumns

Method constructDataChunkForColumns

src/storage/table/node_table.cpp:602–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602DataChunk NodeTable::constructDataChunkForColumns(const std::vector<column_id_t>& columnIDs) const {
603 std::vector<LogicalType> types;
604 for (const auto& columnID : columnIDs) {
605 DASSERT(columnID < columns.size());
606 types.push_back(columns[columnID]->getDataType().copy());
607 }
608 return constructDataChunk(memoryManager, std::move(types));
609}
610
611void NodeTable::commit(main::ClientContext* context, TableCatalogEntry* tableEntry,
612 LocalTable* localTable) {

Callers

nothing calls this directly

Calls 4

getDataTypeMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected