mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Merge branch 'remove-code-bloat' into fp16
This commit is contained in:
commit
5bc2591ef2
@ -184,9 +184,8 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template <typename FirstType, template <typename, typename> class AggregateFunctionTemplate, typename... TArgs>
|
template <typename FirstType, template <typename, typename> class AggregateFunctionTemplate, typename... TArgs>
|
||||||
static IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_type, TArgs && ... args)
|
IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_type, TArgs && ... args)
|
||||||
{
|
{
|
||||||
WhichDataType which(second_type);
|
WhichDataType which(second_type);
|
||||||
|
|
||||||
@ -203,7 +202,7 @@ static IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_ty
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <template <typename, typename> class AggregateFunctionTemplate, typename... TArgs>
|
template <template <typename, typename> class AggregateFunctionTemplate, typename... TArgs>
|
||||||
static IAggregateFunction * createWithTwoTypes(const IDataType & first_type, const IDataType & second_type, TArgs && ... args)
|
IAggregateFunction * createWithTwoTypes(const IDataType & first_type, const IDataType & second_type, TArgs && ... args)
|
||||||
{
|
{
|
||||||
WhichDataType which(first_type);
|
WhichDataType which(first_type);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user