| 215 | } |
| 216 | |
| 217 | bool DataTypeAggregateFunction::equalsIgnoringVariant(const IDataType & rhs) const |
| 218 | { |
| 219 | if (typeid(rhs) != typeid(*this)) |
| 220 | return false; |
| 221 | |
| 222 | auto lhs_state_type = function->getNormalizedStateType(); |
| 223 | auto rhs_state_type = typeid_cast<const DataTypeAggregateFunction &>(rhs).function->getNormalizedStateType(); |
| 224 | |
| 225 | return strictEquals(lhs_state_type, rhs_state_type, /*ignore_variant=*/ true); |
| 226 | } |
| 227 | |
| 228 | bool DataTypeAggregateFunction::equals(const IDataType & rhs) const |
| 229 | { |
no test coverage detected