MCPcopy Create free account
hub / github.com/ByConity/ByConity / getOptimizedDDLs

Method getOptimizedDDLs

src/Advisor/WorkloadTable.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89std::vector<std::pair<QualifiedTableName, String>> WorkloadTables::getOptimizedDDLs() const
90{
91 std::vector<std::pair<QualifiedTableName, String>> res;
92 for (const auto & table : tables)
93 {
94// if (!table.second->isOptimized())
95// continue;
96 res.push_back(std::make_pair(table.first, serializeAST(*table.second->getDDL())));
97 }
98 return res;
99}
100
101ASTPtr WorkloadTable::getOrderBy()
102{

Callers 1

executeMethod · 0.80

Calls 3

getDDLMethod · 0.80
serializeASTFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected