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

Method equals

src/DataTypes/DataTypeMap.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143bool DataTypeMap::equals(const IDataType & rhs) const
144{
145 if (typeid(rhs) != typeid(*this))
146 return false;
147
148 const DataTypeMap & rhs_map = static_cast<const DataTypeMap &>(rhs);
149 return nested->equals(*rhs_map.nested);
150}
151
152bool DataTypeMap::isValidKeyType(DataTypePtr key_type)
153{

Callers 15

validateKeyTypesMethod · 0.45
createLayoutFunction · 0.45
convertKeyColumnsMethod · 0.45
convertKeyColumnsMethod · 0.45
createFunction · 0.45
getLeastSupertypeFunction · 0.45
nativeCastFunction · 0.45

Calls

no outgoing calls

Tested by 3

operator==Function · 0.36
checkFunction · 0.36
checkColumnTypeFunction · 0.36