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

Function getAllNestedColumnsForTable

src/DataTypes/NestedUtils.cpp:613–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613Names getAllNestedColumnsForTable(const Block & block, const std::string & table_name)
614{
615 Names names;
616 for (const auto & name: block.getNames())
617 {
618 if (extractTableName(name) == table_name)
619 names.push_back(name);
620 }
621 return names;
622}
623
624bool isSubcolumnOfNested(const String & column_name, const ColumnsDescription & columns)
625{

Callers 1

createActionMethod · 0.85

Calls 3

extractTableNameFunction · 0.85
getNamesMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected