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

Function getAllNestedColumnsForTable

src/DataTypes/NestedUtils.cpp:221–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221Names getAllNestedColumnsForTable(const Block & block, const std::string & table_name)
222{
223 Names names;
224 for (const auto & name: block.getNames())
225 {
226 if (extractTableName(name) == table_name)
227 names.push_back(name);
228 }
229 return names;
230}
231
232std::unordered_set<String> getAllTableNames(const Block & block, bool to_lower_case)
233{

Callers 1

createActionMethod · 0.85

Calls 3

extractTableNameFunction · 0.85
getNamesMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected