File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
be/src/vec/aggregate_functions Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2020
2121#include " vec/aggregate_functions/aggregate_function_min_max.h"
2222
23- #include " runtime/define_primitive_type.h"
2423#include " vec/aggregate_functions/aggregate_function_simple_factory.h"
2524#include " vec/aggregate_functions/factory_helpers.h"
2625#include " vec/aggregate_functions/helpers.h"
@@ -102,10 +101,10 @@ AggregateFunctionPtr create_aggregate_function_single_value_any_value_function(
102101 }
103102 const DataTypePtr& argument_type = remove_nullable (argument_types[0 ]);
104103 WhichDataType which (argument_type);
105- if (which.idx == TypeIndex::Array || which.idx == TypeIndex::MAP ||
106- which.idx == TypeIndex::STRUCT || which.idx == TypeIndex::AGG_STATE ||
107- which.idx == TypeIndex::OBJECT || which.idx == TypeIndex::HLL ||
108- which.idx == TypeIndex::QUANTILE_STATE ) {
104+ if (which.idx == TypeIndex::Array || which.idx == TypeIndex::Map ||
105+ which.idx == TypeIndex::Struct || which.idx == TypeIndex::AggState ||
106+ which.idx == TypeIndex::BitMap || which.idx == TypeIndex::HLL ||
107+ which.idx == TypeIndex::QuantileState ) {
109108 return creator_without_type::create<
110109 AggregateFunctionsSingleValue<SingleValueDataComplexType>>(argument_types,
111110 result_is_nullable);
You can’t perform that action at this time.
0 commit comments