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

Method createFlatTableSchema

src/processor/result/factorized_table_util.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30FactorizedTableSchema FactorizedTableUtils::createFlatTableSchema(
31 std::vector<LogicalType> columnTypes) {
32 auto tableSchema = FactorizedTableSchema();
33 for (auto& type : columnTypes) {
34 auto column = ColumnSchema(false /* isUnFlat */, 0 /* groupID */,
35 LogicalTypeUtils::getRowLayoutSize(type));
36 tableSchema.appendColumn(std::move(column));
37 }
38 return tableSchema;
39}
40
41void FactorizedTableUtils::appendStringToTable(FactorizedTable* factorizedTable,
42 const std::string& outputMsg, MemoryManager* memoryManager) {

Callers

nothing calls this directly

Calls 2

ColumnSchemaClass · 0.85
appendColumnMethod · 0.80

Tested by

no test coverage detected