mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +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)
|
auto convert_date_type = [] (TypeIndex type_index)
|
||||||
{
|
{
|
||||||
if (type_index == TypeIndex::Date)
|
if (type_index == TypeIndex::Date)
|
||||||
return TypeToTypeIndex<DataTypeDateTime::FieldType>;
|
return TypeToTypeIndex<DataTypeDate::FieldType>;
|
||||||
else if (type_index == TypeIndex::DateTime)
|
else if (type_index == TypeIndex::DateTime)
|
||||||
return TypeToTypeIndex<DataTypeDateTime::FieldType>;
|
return TypeToTypeIndex<DataTypeDateTime::FieldType>;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user