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

Method equals

src/DataTypes/DataTypeAggregateFunction.cpp:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228bool DataTypeAggregateFunction::equals(const IDataType & rhs) const
229{
230 if (typeid(rhs) != typeid(*this))
231 return false;
232
233 auto lhs_state_type = function->getNormalizedStateType();
234 auto rhs_state_type = typeid_cast<const DataTypeAggregateFunction &>(rhs).function->getNormalizedStateType();
235
236 return strictEquals(lhs_state_type, rhs_state_type);
237}
238
239
240SerializationPtr DataTypeAggregateFunction::doGetSerialization(const SerializationInfoSettings &) const

Callers 1

strictEqualsMethod · 0.45

Calls 1

Tested by

no test coverage detected