mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add missing type
This commit is contained in:
parent
445a5e9c9e
commit
514c1f7215
@ -51,6 +51,8 @@ static inline bool callOnAtLeastOneDecimalType(TypeIndex type_num1, TypeIndex ty
|
||||
{
|
||||
switch (type_num1)
|
||||
{
|
||||
case TypeIndex::DateTime64:
|
||||
return callOnBasicType<DateTime64, _int, _float, _decimal, _datetime>(type_num2, std::forward<F>(f));
|
||||
case TypeIndex::Decimal32:
|
||||
return callOnBasicType<Decimal32, _int, _float, _decimal, _datetime>(type_num2, std::forward<F>(f));
|
||||
case TypeIndex::Decimal64:
|
||||
@ -65,6 +67,8 @@ static inline bool callOnAtLeastOneDecimalType(TypeIndex type_num1, TypeIndex ty
|
||||
|
||||
switch (type_num2)
|
||||
{
|
||||
case TypeIndex::DateTime64:
|
||||
return callOnBasicTypeSecondArg<DateTime64, _int, _float, _decimal, _datetime>(type_num1, std::forward<F>(f));
|
||||
case TypeIndex::Decimal32:
|
||||
return callOnBasicTypeSecondArg<Decimal32, _int, _float, _decimal, _datetime>(type_num1, std::forward<F>(f));
|
||||
case TypeIndex::Decimal64:
|
||||
|
Loading…
Reference in New Issue
Block a user