mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Fxi
This commit is contained in:
parent
523945fade
commit
530cdbbf13
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user