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

Function isSubcolumnOfNested

src/DataTypes/NestedUtils.cpp:624–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624bool isSubcolumnOfNested(const String & column_name, const ColumnsDescription & columns)
625{
626 auto nested_subcolumn = columns.tryGetColumnOrSubcolumn(GetColumnsOptions::AllPhysical, column_name);
627 return nested_subcolumn && isNested(nested_subcolumn->getTypeInStorage()) && nested_subcolumn->isSubcolumn() && isArray(nested_subcolumn->type);
628}
629
630}
631

Callers 2

getColumnOnDiskMethod · 0.85
getCacheKeyMethod · 0.85

Calls 3

isNestedFunction · 0.85
isSubcolumnMethod · 0.80

Tested by

no test coverage detected