Skip to content

Commit 4f5b598

Browse files
committed
update
1 parent 2bfc338 commit 4f5b598

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

be/src/vec/aggregate_functions/aggregate_function_min_max.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ AggregateFunctionPtr create_aggregate_function_single_value_any_value_function(
102102
}
103103
const DataTypePtr& argument_type = remove_nullable(argument_types[0]);
104104
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) {
105+
if (which.idx == TypeIndex::Array || which.idx == TypeIndex::Map ||
106+
which.idx == TypeIndex::Struct || which.idx == TypeIndex::AggState ||
107+
which.idx == TypeIndex::BitMap || which.idx == TypeIndex::HLL ||
108+
which.idx == TypeIndex::QuantileState) {
109109
return creator_without_type::create<
110110
AggregateFunctionsSingleValue<SingleValueDataComplexType>>(argument_types,
111111
result_is_nullable);

0 commit comments

Comments
 (0)