This commit is contained in:
alesapin 2024-11-24 14:04:14 +01:00
parent 523945fade
commit 530cdbbf13

View File

@ -300,7 +300,7 @@ AggregateFunctionPtr createAggregateFunctionArgMinMax(const std::string & name,
auto convert_date_type = [] (TypeIndex type_index)
{
if (type_index == TypeIndex::Date)
return TypeToTypeIndex<DataTypeDateTime::FieldType>;
return TypeToTypeIndex<DataTypeDate::FieldType>;
else if (type_index == TypeIndex::DateTime)
return TypeToTypeIndex<DataTypeDateTime::FieldType>;
else