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

Method getSubcolumnType

src/DataTypes/IDataType.cpp:271–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271DataTypePtr IDataType::getSubcolumnType(std::string_view subcolumn_name) const
272{
273 auto data = SubstreamData(getDefaultSerialization()).withType(getPtr());
274 return getSubcolumnData(subcolumn_name, data, {}, true)->type;
275}
276
277ColumnPtr IDataType::tryGetSubcolumn(std::string_view subcolumn_name, const ColumnPtr & column) const
278{

Callers 5

convertToSubcolumnsFunction · 0.80
runForObjectColumnMethod · 0.80
getReturnTypeImplMethod · 0.80
getReturnTypeImplMethod · 0.80

Calls 1

SubstreamDataClass · 0.85

Tested by

no test coverage detected